Astra Bulk Edit - Version 1.2.4

Version Description

  • Fix: Undefined astra_get_option function call when Astra theme is inactive.
  • Fix: White label settings does not get applied for the theme name.
Download this release

Release Info

Developer brainstormworg
Plugin Icon 128x128 Astra Bulk Edit
Version 1.2.4
Comparing to
See all releases

Code changes from version 1.2.3 to 1.2.4

astra-bulk-edit.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Astra Bulk Edit
4
  * Plugin URI: http://www.wpastra.com/pro/
5
  * Description: Easier way to edit Astra meta options in bulk.
6
- * Version: 1.2.3
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Domain Path: /languages
@@ -12,10 +12,14 @@
12
  * @package Astra Bulk Edit
13
  */
14
 
 
 
 
 
15
  /**
16
  * Set constants.
17
  */
18
- define( 'ASTRA_BLK_VER', '1.2.3' );
19
  define( 'ASTRA_BLK_FILE', __FILE__ );
20
  define( 'ASTRA_BLK_BASE', plugin_basename( ASTRA_BLK_FILE ) );
21
  define( 'ASTRA_BLK_DIR', plugin_dir_path( ASTRA_BLK_FILE ) );
3
  * Plugin Name: Astra Bulk Edit
4
  * Plugin URI: http://www.wpastra.com/pro/
5
  * Description: Easier way to edit Astra meta options in bulk.
6
+ * Version: 1.2.4
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Domain Path: /languages
12
  * @package Astra Bulk Edit
13
  */
14
 
15
+ if ( 'astra' !== get_template() ) {
16
+ return;
17
+ }
18
+
19
  /**
20
  * Set constants.
21
  */
22
+ define( 'ASTRA_BLK_VER', '1.2.4' );
23
  define( 'ASTRA_BLK_FILE', __FILE__ );
24
  define( 'ASTRA_BLK_BASE', plugin_basename( ASTRA_BLK_FILE ) );
25
  define( 'ASTRA_BLK_DIR', plugin_dir_path( ASTRA_BLK_FILE ) );
classes/class-astra-blk-meta-boxes-bulk-edit.php CHANGED
@@ -286,8 +286,9 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
286
  */
287
  public function add_custom_admin_column( $columns ) {
288
  $new_columns = array();
 
289
 
290
- $new_columns['astra-settings'] = 'Astra Settings';
291
 
292
  return array_merge( $columns, $new_columns );
293
  }
@@ -349,11 +350,12 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
349
  $html = '';
350
 
351
  wp_nonce_field( basename( __FILE__ ), 'astra_settings_bulk_meta_box' );
 
352
 
353
  if ( 'astra-settings' == $column ) { ?>
354
  <fieldset class="astra-bulk-settings inline-edit-col ">
355
  <div class="inline-edit-col wp-clearfix">
356
- <h4 class="title"><?php esc_html_e( 'Astra Settings', 'astra-bulk-edit' ); ?></h4>
357
 
358
  <div class="ast-float-left inline-edit-col-left wp-clearfix">
359
  <label class="inline-edit" for="site-sidebar-layout">
286
  */
287
  public function add_custom_admin_column( $columns ) {
288
  $new_columns = array();
289
+ $theme_name = apply_filters( 'astra_page_title', __( 'Astra', 'astra-bulk-edit' ) );
290
 
291
+ $new_columns['astra-settings'] = esc_html( $theme_name ) . ' Settings';
292
 
293
  return array_merge( $columns, $new_columns );
294
  }
350
  $html = '';
351
 
352
  wp_nonce_field( basename( __FILE__ ), 'astra_settings_bulk_meta_box' );
353
+ $theme_name = apply_filters( 'astra_page_title', __( 'Astra', 'astra-bulk-edit' ) );
354
 
355
  if ( 'astra-settings' == $column ) { ?>
356
  <fieldset class="astra-bulk-settings inline-edit-col ">
357
  <div class="inline-edit-col wp-clearfix">
358
+ <h4 class="title"><?php esc_html_e( $theme_name . ' Settings', 'astra-bulk-edit' ); // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText ?></h4>
359
 
360
  <div class="ast-float-left inline-edit-col-left wp-clearfix">
361
  <label class="inline-edit" for="site-sidebar-layout">
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: brainstormforce
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: bulk edit Astra meta settings, Astra meta settings, meta settings bulk edit, wordpress bulk edit plugin, page bulk edit, post bulk edit
5
  Requires at least: 4.4
6
- Tested up to: 5.4
7
- Stable tag: 1.2.3
8
  Requires PHP: 5.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -61,6 +61,10 @@ Astra Bulk Edit plugin can be used only with the Astra theme.
61
 
62
  == Changelog ==
63
 
 
 
 
 
64
  = 1.2.3 =
65
  - Improvement: Hardened the security of plugin
66
  - Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
3
  Donate link: https://www.paypal.me/BrainstormForce
4
  Tags: bulk edit Astra meta settings, Astra meta settings, meta settings bulk edit, wordpress bulk edit plugin, page bulk edit, post bulk edit
5
  Requires at least: 4.4
6
+ Tested up to: 5.5
7
+ Stable tag: 1.2.4
8
  Requires PHP: 5.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
61
 
62
  == Changelog ==
63
 
64
+ = 1.2.4 =
65
+ - Fix: Undefined astra_get_option function call when Astra theme is inactive.
66
+ - Fix: White label settings does not get applied for the theme name.
67
+
68
  = 1.2.3 =
69
  - Improvement: Hardened the security of plugin
70
  - Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules