From 6bf3712f24d361cb73503a640cb4eea1c5b40af1 Mon Sep 17 00:00:00 2001 From: Garvit Shrestha Date: Mon, 25 Mar 2024 08:34:06 +0545 Subject: [PATCH] Fix: Bulk select not working with WP-6.5 --- README.md | 9 ++++++--- astra-bulk-edit.php | 4 ++-- classes/class-astra-blk-meta-boxes-bulk-edit.php | 2 +- package.json | 2 +- readme.txt | 7 +++++-- 5 files changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 34f92c0..e148b7c 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ **Donate link:** https://www.paypal.me/BrainstormForce **Tags:** bulk edit Astra meta settings, Astra meta settings, meta settings bulk edit, wordpress bulk edit plugin, page bulk edit, post bulk edit **Requires at least:** 4.4 -**Tested up to:** 6.4 -**Stable tag:** 1.2.9 +**Tested up to:** 6.5 +**Stable tag:** 1.3.0 **Requires PHP:** 5.2 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -61,9 +61,12 @@ Astra Bulk Edit plugin can be used only with the Astra theme. ## Changelog ## +### 1.3.0 ### +- Fix: Compatibility issues with WordPress 6.5 + ### 1.2.9 ### - Improvement: Compatibility with the Latest Astra Revamped Layout Options. -- fix: Few bulk edit settings were not working. +- Fix: Few bulk edit settings were not working. ### 1.2.8 ### - Improved codebase for improved security. (Props - Patchstack) diff --git a/astra-bulk-edit.php b/astra-bulk-edit.php index 31e83bf..2549da0 100644 --- a/astra-bulk-edit.php +++ b/astra-bulk-edit.php @@ -3,7 +3,7 @@ * Plugin Name: Astra Bulk Edit * Plugin URI: http://www.wpastra.com/pro/ * Description: Easier way to edit Astra meta options in bulk. - * Version: 1.2.9 + * Version: 1.3.0 * Author: Brainstorm Force * Author URI: https://www.brainstormforce.com * Domain Path: /languages @@ -19,7 +19,7 @@ /** * Set constants. */ -define( 'ASTRA_BLK_VER', '1.2.9' ); +define( 'ASTRA_BLK_VER', '1.3.0' ); define( 'ASTRA_BLK_FILE', __FILE__ ); define( 'ASTRA_BLK_BASE', plugin_basename( ASTRA_BLK_FILE ) ); define( 'ASTRA_BLK_DIR', plugin_dir_path( ASTRA_BLK_FILE ) ); diff --git a/classes/class-astra-blk-meta-boxes-bulk-edit.php b/classes/class-astra-blk-meta-boxes-bulk-edit.php index 06c79d7..14e26a2 100644 --- a/classes/class-astra-blk-meta-boxes-bulk-edit.php +++ b/classes/class-astra-blk-meta-boxes-bulk-edit.php @@ -753,7 +753,7 @@ public function enqueue_admin_scripts_and_styles() { $post_type = get_post_type(); if ( 'product' !== $post_type && 'cartflows_flow' !== $post_type && 'cartflows_step' !== $post_type ) { - wp_enqueue_script( 'astra-blk-admin', ASTRA_BLK_URI . 'assets/js/astra-admin.js', array( 'jquery', 'inline-edit-post' ), ASTRA_BLK_VER, false ); + wp_enqueue_script( 'astra-blk-admin', ASTRA_BLK_URI . 'assets/js/astra-admin.js', array( 'jquery', 'inline-edit-post' ), ASTRA_BLK_VER, true ); wp_localize_script( 'astra-blk-admin', 'security', diff --git a/package.json b/package.json index 127f70c..b8746d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "astra-bulk-edit", - "version": "1.2.2", + "version": "1.3.0", "main": "Gruntfile.js", "author": "", "devDependencies": { diff --git a/readme.txt b/readme.txt index 4ffe5e1..1842b7d 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: brainstormforce Donate link: https://www.paypal.me/BrainstormForce Tags: bulk edit Astra meta settings, Astra meta settings, meta settings bulk edit, wordpress bulk edit plugin, page bulk edit, post bulk edit Requires at least: 4.4 -Tested up to: 6.4 -Stable tag: 1.2.9 +Tested up to: 6.5 +Stable tag: 1.3.0 Requires PHP: 5.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -61,6 +61,9 @@ Astra Bulk Edit plugin can be used only with the Astra theme. == Changelog == +### 1.3.0 ### +- Fix: Compatibility issues with WordPress 6.5 + = 1.2.9 = - Improvement: Compatibility with the Latest Astra Revamped Layout Options. - fix: Few bulk edit settings were not working.