Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync branch [skip ci]
Browse files Browse the repository at this point in the history
pirate-bot authored Nov 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 68188bc + a5d6bac commit c17b1cd
Showing 26 changed files with 73 additions and 32 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -138,13 +138,13 @@ jobs:
- specs: "customizer"
envs: "sample-data"
- specs: "admin"
envs: "sample-data"
- specs: "visual-regression"
# envs: "sample-data"
# - specs: "visual-regression"
envs: "sample-data"
- specs: "accessibility"
envs: "sample-data"
- specs: "woo-visual-regression"
envs: "woo-sample"
# - specs: "woo-visual-regression"
# envs: "woo-sample"
runs-on: ubuntu-latest
env:
ZIP_URL: "https://verti-artifacts.s3.amazonaws.com/${{ github.event.pull_request.base.repo.name }}-${{ needs.dev-zip.outputs.branch-name }}-${{ needs.dev-zip.outputs.git-sha-8 }}/neve.zip"
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
##### [Version 3.8.15](https://github.com/Codeinwp/neve/compare/v3.8.14...v3.8.15) (2024-11-22)

- Fixed issues from the latest release

##### [Version 3.8.14](https://github.com/Codeinwp/neve/compare/v3.8.13...v3.8.14) (2024-11-21)

- Fixed compatibility issue with WordPress 6.7 that was throwing warnings on translations
- Fixed WooCoomerce icon display issue on notices

##### [Version 3.8.13](https://github.com/Codeinwp/neve/compare/v3.8.12...v3.8.13) (2024-11-12)

- Fixed submenu text wrapping issue on mobile
5 changes: 0 additions & 5 deletions assets/scss/components/compat/woocommerce/_notices.scss
Original file line number Diff line number Diff line change
@@ -25,10 +25,6 @@
--primarybtnhoverbg: transparent;
--primarybtnbg: transparent;

&::before {
display: none;
}

> a {

@extend %nv-button-primary-no-colors;
@@ -136,7 +132,6 @@ $blockNotices: (
}

.woocommerce .woocommerce-error {
padding-left: 3.5em;

li {
width: 100%;
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ test.describe('Custom Global Color Control', () => {

await page.locator('.block-editor-rich-text__editable').first().click();
// use Background color control to open the color picker, available since WP 6.1
await page.getByRole('tab', { name: 'Style' }).click();
await page.getByRole('button', { name: 'Background' }).click();
await page.getByRole('option', { name: 'Color: Custom 1' }).click();
await page
Original file line number Diff line number Diff line change
@@ -320,7 +320,6 @@ test.describe('Single Post Check', function () {
});

await page.goto('/template-comments/?test_name=metaOrder');
await page.screenshot({ path: 'metaOrder.png' });
const metaOrder = ['category', 'date', 'comments', 'author'];
await checkElementsOrder(page, '.nv-meta-list', metaOrder);

2 changes: 1 addition & 1 deletion e2e-tests/specs/visual-regression/single-post.spec.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ test.describe('Single Post', () => {
continue;
}
await scrollTo(page, position.y);
await page.waitForTimeout(500);
await page.waitForTimeout(2000);
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.01 });
}
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion e2e-tests/specs/visual-regression/starter-sites.spec.ts
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ test.describe('Starter sites check', () => {
await page.goto(url + '?optml_off=true&onboarding=true');
await page.keyboard.press('End');
await page.evaluate(() => window.scrollTo(0, 0));
await page.waitForTimeout(500);
await page.waitForTimeout(2000);
await expect(page).toHaveScreenshot({
maxDiffPixelRatio: 0.18,
fullPage: true,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
* @package Neve
*/

define( 'NEVE_VERSION', '3.8.13' );
define( 'NEVE_VERSION', '3.8.15' );
define( 'NEVE_INC_DIR', trailingslashit( get_template_directory() ) . 'inc/' );
define( 'NEVE_ASSETS_URL', trailingslashit( get_template_directory_uri() ) . 'assets/' );
define( 'NEVE_MAIN_DIR', get_template_directory() . '/' );
1 change: 0 additions & 1 deletion inc/admin/dashboard/main.php
Original file line number Diff line number Diff line change
@@ -81,7 +81,6 @@ public function __construct() {
*/
public function init() {

$this->setup_config();
add_action( 'init', [ $this, 'setup_config' ] );
add_action( 'admin_menu', [ $this, 'register' ] );
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue' ] );
28 changes: 18 additions & 10 deletions inc/customizer/options/layout_sidebar.php
Original file line number Diff line number Diff line change
@@ -36,14 +36,7 @@ class Layout_Sidebar extends Base_Customizer {
*/
public function __construct() {

$this->advanced_controls = [
'blog_archive' => __( 'Blog / Archive', 'neve' ),
'single_post' => __( 'Single Post', 'neve' ),
];

$this->add_woocommerce_controls();

$this->advanced_controls['other_pages'] = __( 'Others', 'neve' );
}

/**
@@ -189,7 +182,22 @@ private function sidebar_layout_choices( $control_id ) {

return $options;
}

/**
* Retrieve the advanced controls for the sidebar layout.
*
* @return array The array of advanced controls.
*/
public function get_advanced_controls() {
if ( empty( $this->advanced_controls ) ) {
$this->advanced_controls = [
'blog_archive' => __( 'Blog / Archive', 'neve' ),
'single_post' => __( 'Single Post', 'neve' ),
];
$this->add_woocommerce_controls();
$this->advanced_controls['other_pages'] = __( 'Others', 'neve' );
}
return $this->advanced_controls;
}
/**
* Advanced controls.
*/
@@ -203,8 +211,8 @@ private function add_advanced_controls() {
*
* @since 3.1.0
*/
$this->advanced_controls = apply_filters( 'neve_sidebar_controls_filter', $this->advanced_controls );
foreach ( $this->advanced_controls as $id => $heading_label ) {
$advanced_controls = apply_filters( 'neve_sidebar_controls_filter', $this->get_advanced_controls() );
foreach ( $advanced_controls as $id => $heading_label ) {
$heading_id = 'neve_' . $id . '_heading';
$layout_id = 'neve_' . $id . '_sidebar_layout';
$width_id = 'neve_' . $id . '_content_width';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "neve",
"nicename": "Neve",
"version": "3.8.13",
"version": "3.8.15",
"description": "Neve theme by ThemeIsle",
"category": "themes",
"author": "ThemeIsle <[email protected]>",
15 changes: 15 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -19,6 +19,21 @@ Neve is distributed under the terms of the GNU GPLv2 or later

## Changelog ##

##### [Version 3.8.15](https://github.com/Codeinwp/neve/compare/v3.8.14...v3.8.15) (2024-11-22)

- Fixed issues from the latest release




##### [Version 3.8.14](https://github.com/Codeinwp/neve/compare/v3.8.13...v3.8.14) (2024-11-21)

- Fixed compatibility issue with WordPress 6.7 that was throwing warnings on translations
- Fixed WooCoomerce icon display issue on notices




##### [Version 3.8.13](https://github.com/Codeinwp/neve/compare/v3.8.12...v3.8.13) (2024-11-12)

- Fixed submenu text wrapping issue on mobile
15 changes: 15 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -19,6 +19,21 @@ Neve is distributed under the terms of the GNU GPLv2 or later

== Changelog ==

##### [Version 3.8.15](https://github.com/Codeinwp/neve/compare/v3.8.14...v3.8.15) (2024-11-22)

- Fixed issues from the latest release




##### [Version 3.8.14](https://github.com/Codeinwp/neve/compare/v3.8.13...v3.8.14) (2024-11-21)

- Fixed compatibility issue with WordPress 6.7 that was throwing warnings on translations
- Fixed WooCoomerce icon display issue on notices




##### [Version 3.8.13](https://github.com/Codeinwp/neve/compare/v3.8.12...v3.8.13) (2024-11-12)

- Fixed submenu text wrapping issue on mobile
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ Tested up to: 6.2
Requires PHP: 7.0
Requires at least: 5.5
Description: Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
Version: 3.8.13
Version: 3.8.15
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neve

0 comments on commit c17b1cd

Please sign in to comment.