Astra Bulk Edit - Version 1.2.3

Version Description

  • Improvement: Hardened the security of plugin
  • Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
Download this release

Release Info

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

Code changes from version 1.2.2 to 1.2.3

assets/js/astra-admin.js CHANGED
@@ -57,34 +57,41 @@ jQuery(document).ready(function($){
57
  }
58
  }
59
 
60
- jQuery( "#bulk_edit" ).on( "click", function(e) {
61
-
62
- // e.preventDefault();
63
-
64
- var bulk_row = jQuery( "#bulk-edit" );
65
- var post_ids = new Array();
66
- bulk_row.find( "#bulk-titles" ).children().each( function() {
67
- post_ids.push( jQuery( this ).attr( "id" ).replace( /^(ttle)/i, "" ) );
68
- });
69
-
70
- var form = bulk_row.closest('form');
71
- var post_data = form.serialize();
72
 
73
- post_data += '&action=astra_save_post_bulk_edit';
74
-
75
- jQuery.ajax({
76
- url: ajaxurl,
77
- type: "POST",
78
- async: false,
79
- cache: false,
80
- data: post_data,
81
- type: 'POST',
82
- dataType: 'json',
83
- })
84
- .done(function() {
85
- toggleStickyHeader();
86
- })
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  });
89
 
90
  jQuery( ".inline-edit select[name=stick-header-meta]" ).on( "change", function(e) {
57
  }
58
  }
59
 
60
+ var trigger_ajax = true;
 
 
 
 
 
 
 
 
 
 
 
61
 
62
+ jQuery( "#bulk_edit" ).on( "click", function(e) {
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
+ if( true === trigger_ajax ) {
65
+ e.preventDefault();
66
+
67
+ var bulk_row = jQuery( "#bulk-edit" );
68
+ var post_ids = new Array();
69
+ bulk_row.find( "#bulk-titles" ).children().each( function() {
70
+ post_ids.push( jQuery( this ).attr( "id" ).replace( /^(ttle)/i, "" ) );
71
+ });
72
+
73
+ var form = bulk_row.closest('form');
74
+ var post_data = form.serialize();
75
+
76
+ post_data += '&action=astra_save_post_bulk_edit&astra_nonce=' + security.nonce;
77
+
78
+ jQuery.ajax({
79
+ url: ajaxurl,
80
+ type: "POST",
81
+ async: false,
82
+ cache: false,
83
+ data: post_data,
84
+ type: 'POST',
85
+ dataType: 'json',
86
+ })
87
+ .done(function() {
88
+ toggleStickyHeader();
89
+ trigger_ajax = false;
90
+ $( "#bulk_edit" ).trigger( "click" );
91
+ })
92
+ } else {
93
+ return true;
94
+ }
95
  });
96
 
97
  jQuery( ".inline-edit select[name=stick-header-meta]" ).on( "change", function(e) {
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.2
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Domain Path: /languages
@@ -15,10 +15,10 @@
15
  /**
16
  * Set constants.
17
  */
18
- define( 'ASTRA_BLK_VER', '1.2.2' );
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 ) );
22
- define( 'ASTRA_BLK_URI', plugins_url( '/', ASTRA_BLK_FILE ) );
23
 
24
- require_once ASTRA_BLK_DIR . 'classes/class-astra-blk-meta-boxes-bulk-edit.php';
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
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 ) );
22
+ define( 'ASTRA_BLK_URI', plugins_url( '/', ASTRA_BLK_FILE ) );
23
 
24
+ require_once ASTRA_BLK_DIR . 'classes/class-astra-blk-meta-boxes-bulk-edit.php';
classes/class-astra-blk-meta-boxes-bulk-edit.php CHANGED
@@ -37,7 +37,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
37
  */
38
  public static function get_instance() {
39
  if ( ! isset( self::$instance ) ) {
40
- self::$instance = new self;
41
  }
42
  return self::$instance;
43
  }
@@ -48,22 +48,23 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
48
  public function __construct() {
49
 
50
  add_action( 'admin_init', array( $this, 'setup_admin_init' ), 999 );
51
-
52
  // output form elements for quickedit interface.
53
  add_action( 'bulk_edit_custom_box', array( $this, 'display_quick_edit_custom' ), 10, 2 );
54
  add_action( 'quick_edit_custom_box', array( $this, 'display_quick_edit_custom' ), 10, 2 );
55
 
56
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts_and_styles' ) );
57
-
58
  add_action( 'save_post', array( $this, 'save_meta_box' ) );
59
 
60
  add_action( 'wp_ajax_astra_save_post_bulk_edit', array( $this, 'save_post_bulk_edit' ) );
 
61
  }
62
 
63
  /**
64
  * Admin Init actions
65
  */
66
- function setup_admin_init() {
67
 
68
  $this->setup_bulk_options();
69
 
@@ -85,11 +86,11 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
85
  }
86
  }
87
  }
88
-
89
  /**
90
  * Init bulk options
91
  */
92
- function setup_bulk_options() {
93
 
94
  /**
95
  * Set metabox options
@@ -97,40 +98,41 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
97
  * @see http://php.net/manual/en/filter.filters.sanitize.php
98
  */
99
  self::$meta_option = apply_filters(
100
- 'astra_meta_box_bulk_edit_options', array(
101
- 'ast-above-header-display' => array(
 
102
  'default' => 'no-change',
103
  'sanitize' => 'FILTER_DEFAULT',
104
  ),
105
- 'ast-main-header-display' => array(
106
  'default' => 'no-change',
107
  'sanitize' => 'FILTER_DEFAULT',
108
  ),
109
- 'ast-below-header-display' => array(
110
  'default' => 'no-change',
111
  'sanitize' => 'FILTER_DEFAULT',
112
  ),
113
- 'ast-featured-img' => array(
114
  'default' => 'no-change',
115
  'sanitize' => 'FILTER_DEFAULT',
116
  ),
117
- 'site-post-title' => array(
118
  'default' => 'no-change',
119
  'sanitize' => 'FILTER_DEFAULT',
120
  ),
121
- 'site-sidebar-layout' => array(
122
  'default' => 'no-change',
123
  'sanitize' => 'FILTER_DEFAULT',
124
  ),
125
- 'site-content-layout' => array(
126
  'default' => 'no-change',
127
  'sanitize' => 'FILTER_DEFAULT',
128
  ),
129
- 'footer-sml-layout' => array(
130
  'default' => 'no-change',
131
  'sanitize' => 'FILTER_DEFAULT',
132
  ),
133
- 'footer-adv-display' => array(
134
  'default' => 'no-change',
135
  'sanitize' => 'FILTER_DEFAULT',
136
  ),
@@ -138,27 +140,26 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
138
  'default' => 'no-change',
139
  'sanitize' => 'FILTER_DEFAULT',
140
  ),
141
- 'adv-header-id-meta' => array(
142
- // 'default' => 'SELECT',
143
  'sanitize' => 'FILTER_DEFAULT',
144
  ),
145
- 'stick-header-meta' => array(
146
  'default' => 'no-change',
147
  'sanitize' => 'FILTER_DEFAULT',
148
  ),
149
- 'header-above-stick-meta' => array(
150
  'default' => 'no-change',
151
  'sanitize' => 'FILTER_DEFAULT',
152
  ),
153
- 'header-main-stick-meta' => array(
154
  'default' => 'no-change',
155
  'sanitize' => 'FILTER_DEFAULT',
156
  ),
157
- 'header-below-stick-meta' => array(
158
  'default' => 'no-change',
159
  'sanitize' => 'FILTER_DEFAULT',
160
  ),
161
- 'ast-breadcrumbs-content' => array(
162
  'default' => 'no-change',
163
  'sanitize' => 'FILTER_DEFAULT',
164
  ),
@@ -179,7 +180,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
179
  * @param number $post_id Post ID.
180
  * @return void
181
  */
182
- function save_meta_box( $post_id ) {
183
 
184
  // Checks save status.
185
  $is_autosave = wp_is_post_autosave( $post_id );
@@ -220,7 +221,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
220
  break;
221
  }
222
 
223
- // Store values.
224
  if ( 'no-change' !== $meta_value ) {
225
  update_post_meta( $post_id, $key, $meta_value );
226
  }
@@ -231,10 +232,9 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
231
  /**
232
  * Save bulk edit options.
233
  */
234
- function save_post_bulk_edit() {
235
-
236
  $post_ids = ! empty( $_POST['post'] ) ? $_POST['post'] : array();
237
-
238
  if ( ! empty( $post_ids ) && is_array( $post_ids ) ) {
239
 
240
  /**
@@ -268,15 +268,14 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
268
  break;
269
  }
270
 
271
- // Store values.
272
  if ( 'no-change' !== $meta_value ) {
273
  update_post_meta( $post_id, $key, $meta_value );
274
  }
275
  }
276
  }
277
  }
278
-
279
- die();
280
  }
281
 
282
  /**
@@ -285,7 +284,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
285
  * @param number $columns Columns.
286
  * @return array Column array.
287
  */
288
- function add_custom_admin_column( $columns ) {
289
  $new_columns = array();
290
 
291
  $new_columns['astra-settings'] = 'Astra Settings';
@@ -302,7 +301,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
302
  * @param number $post_id Post ID.
303
  * @return void
304
  */
305
- function manage_custom_admin_columns( $column_name, $post_id ) {
306
 
307
  if ( 'astra-settings' == $column_name ) {
308
 
@@ -332,7 +331,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
332
  $html .= '</div>';
333
  }
334
 
335
- echo $html;
336
  }
337
 
338
  }
@@ -345,7 +344,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
345
  * @param string $screen Screen.
346
  * @return void
347
  */
348
- function display_quick_edit_custom( $column, $screen ) {
349
 
350
  $html = '';
351
 
@@ -360,23 +359,23 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
360
  <label class="inline-edit" for="site-sidebar-layout">
361
  <span class="title"><?php esc_html_e( 'Sidebar', 'astra-bulk-edit' ); ?></span>
362
  <select name="site-sidebar-layout" id="site-sidebar-layout">
363
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
364
- <option value="default"><?php _e( 'Customizer Setting', 'astra-bulk-edit' ); ?></option>
365
- <option value="left-sidebar"><?php _e( 'Left Sidebar', 'astra-bulk-edit' ); ?></option>
366
- <option value="right-sidebar"><?php _e( 'Right Sidebar', 'astra-bulk-edit' ); ?></option>
367
- <option value="no-sidebar"><?php _e( 'No Sidebar', 'astra-bulk-edit' ); ?></option>
368
  </select>
369
  </label>
370
 
371
  <label class="inline-edit" for="site-content-layout">
372
  <span class="title"><?php esc_html_e( 'Content Layout', 'astra-bulk-edit' ); ?></span>
373
  <select name="site-content-layout" id="site-content-layout">
374
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
375
- <option value="default"><?php _e( 'Customizer Setting', 'astra-bulk-edit' ); ?></option>
376
- <option value="boxed-container"><?php _e( 'Boxed', 'astra-bulk-edit' ); ?></option>
377
- <option value="content-boxed-container"><?php _e( 'Content Boxed', 'astra-bulk-edit' ); ?></option>
378
- <option value="plain-container"><?php _e( 'Full Width / Contained', 'astra-bulk-edit' ); ?></option>
379
- <option value="page-builder"><?php _e( 'Full Width / Stretched', 'astra-bulk-edit' ); ?></option>
380
  </select>
381
  </label>
382
 
@@ -387,7 +386,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
387
  <label class="inline-edit" for="ast-main-header-display">
388
  <span class="title"><?php esc_html_e( 'Primary Header', 'astra-bulk-edit' ); ?></span>
389
  <select name="ast-main-header-display" id="ast-main-header-display">
390
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
391
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
392
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
393
  </select>
@@ -395,40 +394,44 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
395
  <?php if ( is_callable( 'Astra_Ext_Extension::is_active' ) ) : ?>
396
  <?php
397
  if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) {
398
- $above_header_layout = astra_get_option( 'above-header-layout' );
399
- if ( 'disabled' != $above_header_layout ) {
400
- ?>
401
  <label class="inline-edit" for="ast-above-header-display">
402
  <span class="title"><?php esc_html_e( 'Above Header', 'astra-bulk-edit' ); ?></span>
403
  <select name="ast-above-header-display" id="ast-above-header-display">
404
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
405
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
406
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
407
  </select>
408
  </label>
409
  <?php } ?>
410
- <?php
411
- $below_header_layout = astra_get_option( 'below-header-layout' );
412
- if ( 'disabled' != $below_header_layout ) {
413
- ?>
414
  <label class="inline-edit" for="ast-below-header-display">
415
  <span class="title"><?php esc_html_e( 'Below Header', 'astra-bulk-edit' ); ?></span>
416
  <select name="ast-below-header-display" id="ast-below-header-display">
417
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
418
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
419
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
420
  </select>
421
  </label>
422
- <?php }
423
- }?>
 
 
424
  <?php endif; ?>
425
 
426
- <?php $ast_theme_transparent_header = astra_get_option( 'theme-transparent-header-meta' );
427
- if ( 'disabled' != $ast_theme_transparent_header ) { ?>
 
 
428
  <label class="inline-edit" for="theme-transparent-header-meta">
429
  <span class="title"><?php esc_html_e( 'Transparent Header', 'astra-bulk-edit' ); ?></span>
430
  <select name="theme-transparent-header-meta" id="theme-transparent-header-meta">
431
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
432
  <option value="default"> <?php esc_html_e( 'Customizer Setting', 'astra-bulk-edit' ); ?> </option>
433
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
434
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
@@ -443,26 +446,27 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
443
  <label class="inline-edit" for="ast-breadcrumbs-content">
444
  <span class="title"><?php esc_html_e( 'Breadcrumbs', 'astra-bulk-edit' ); ?></span>
445
  <select name="ast-breadcrumbs-content" id="ast-breadcrumbs-content">
446
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
447
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
448
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
449
  </select>
450
  </label>
451
  <?php
452
- } ?>
 
453
  <label class="inline-edit" for="site-post-title">
454
  <span class="title"><?php esc_html_e( 'Title', 'astra-bulk-edit' ); ?></span>
455
  <select name="site-post-title" id="site-post-title">
456
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
457
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
458
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
459
  </select>
460
  </label>
461
-
462
  <label class="inline-edit" for="ast-featured-img">
463
  <span class="title"><?php esc_html_e( 'Featured Image', 'astra-bulk-edit' ); ?></span>
464
  <select name="ast-featured-img" id="ast-featured-img">
465
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
466
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
467
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
468
  </select>
@@ -471,11 +475,11 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
471
  <?php
472
  $footer_adv_layout = astra_get_option( 'footer-adv' );
473
  if ( 'disabled' != $footer_adv_layout ) {
474
- ?>
475
  <label class="inline-edit" for="footer-adv-display">
476
  <span class="title"><?php esc_html_e( 'Footer Widgets', 'astra-bulk-edit' ); ?></span>
477
  <select name="footer-adv-display" id="footer-adv-display">
478
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
479
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
480
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
481
  </select>
@@ -485,11 +489,11 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
485
  <?php
486
  $footer_sml_layout = astra_get_option( 'footer-sml-layout' );
487
  if ( 'disabled' != $footer_sml_layout ) {
488
- ?>
489
  <label class="inline-edit" for="footer-sml-layout">
490
  <span class="title"><?php esc_html_e( 'Footer Bar', 'astra-bulk-edit' ); ?></span>
491
  <select name="footer-sml-layout" id="footer-sml-layout">
492
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
493
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
494
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
495
  </select>
@@ -502,7 +506,6 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
502
  <div class="ast-float-left inline-edit-col-left wp-clearfix">
503
 
504
  <?php if ( is_callable( 'Astra_Ext_Extension::is_active' ) ) : ?>
505
-
506
  <?php if ( Astra_Ext_Extension::is_active( 'advanced-headers' ) ) : ?>
507
  <?php
508
  $header_options = Astra_Target_Rules_Fields::get_post_selection( 'astra_adv_header' );
@@ -518,7 +521,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
518
  <span class="title"><?php esc_html_e( 'Page Header', 'astra-bulk-edit' ); ?></span>
519
  <select name="adv-header-id-meta" id="adv-header-id-meta">
520
  <?php foreach ( $header_options as $key => $value ) { ?>
521
- <option value="<?php echo esc_attr( $key ); ?>"> <?php echo $value; ?></option>
522
  <?php } ?>
523
  </select>
524
  </label>
@@ -529,7 +532,7 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
529
  <label class="inline-edit stick-header-meta-visibility" for="stick-header-meta">
530
  <span class="title"><?php esc_html_e( 'Sticky Header', 'astra-bulk-edit' ); ?></span>
531
  <select name="stick-header-meta" id="stick-header-meta">
532
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
533
  <option value="default"><?php esc_html_e( 'Customizer Setting', 'astra-bulk-edit' ); ?> </option>
534
  <option value="enabled"><?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
535
  <option value="disabled"><?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
@@ -540,49 +543,50 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
540
  if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) {
541
  // Above Header Layout.
542
  $above_header_layout = astra_get_option( 'above-header-layout' );
543
- if ( 'disabled' != $above_header_layout ) { ?>
 
544
  <label class="inline-edit sticky-header-above-stick-meta" for="header-above-stick-meta">
545
  <span class="title"><?php esc_html_e( 'Stick Above Header', 'astra-bulk-edit' ); ?></span>
546
  <select name="header-above-stick-meta" id="header-above-stick-meta">
547
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
548
  <option value="on"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
549
  <option value="off"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
550
  </select>
551
  </label>
552
  <?php
553
- }
554
  }
 
555
  // Main Header Layout.
556
  $header_layouts = astra_get_option( 'header-layouts' );
557
- if ( 'header-main-layout-5' != $header_layouts ) {
558
- ?>
559
  <label class="inline-edit sticky-header-main-stick-meta" for="header-main-stick-meta">
560
  <span class="title"><?php esc_html_e( 'Stick Primary Header', 'astra-bulk-edit' ); ?></span>
561
  <select name="header-main-stick-meta" id="header-main-stick-meta">
562
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
563
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
564
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
565
  </select>
566
  </label>
567
  <?php
568
- }
569
- if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) {
570
- // Below Header Layout.
571
- $below_header_layout = astra_get_option( 'below-header-layout' );
572
- if ( 'disabled' != $below_header_layout ) {
573
- ?>
574
  <label class="inline-edit sticky-header-below-stick-meta" for="header-below-stick-meta">
575
  <span class="title"><?php esc_html_e( 'Stick Below Header', 'astra-bulk-edit' ); ?></span>
576
  <select name="header-below-stick-meta" id="header-below-stick-meta">
577
- <option value="no-change" selected="selected"><?php _e( '— No Change —', 'astra-bulk-edit' ); ?></option>
578
  <option value="on"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
579
  <option value="off"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
580
  </select>
581
  </label>
582
  <?php
583
- }
584
  }
585
- ?>
 
586
  </div>
587
  <?php endif; ?>
588
 
@@ -592,23 +596,29 @@ if ( ! class_exists( 'Astra_Blk_Meta_Boxes_Bulk_Edit' ) ) {
592
 
593
  </div>
594
  </fieldset>
595
- <?php
596
  }
597
  }
598
 
599
  /**
600
  * Quick edit and bulk edit script function.
601
  */
602
- function enqueue_admin_scripts_and_styles() {
603
  wp_enqueue_style( 'astra-blk-admin', ASTRA_BLK_URI . 'assets/css/astra-admin.css', array(), ASTRA_BLK_VER );
604
-
605
  $post_type = get_post_type();
606
  if ( 'product' !== $post_type && 'cartflows_flow' !== $post_type && 'cartflows_step' !== $post_type ) {
607
- wp_enqueue_script( 'astra-blk-admin', ASTRA_BLK_URI . 'assets/js/astra-admin.js', array( 'jquery', 'inline-edit-post' ), ASTRA_BLK_VER );
 
 
 
 
 
 
 
608
  }
609
  }
610
  }
611
- }// End if().
612
 
613
  /**
614
  * Kicking this off by calling 'get_instance()' method
37
  */
38
  public static function get_instance() {
39
  if ( ! isset( self::$instance ) ) {
40
+ self::$instance = new self();
41
  }
42
  return self::$instance;
43
  }
48
  public function __construct() {
49
 
50
  add_action( 'admin_init', array( $this, 'setup_admin_init' ), 999 );
51
+
52
  // output form elements for quickedit interface.
53
  add_action( 'bulk_edit_custom_box', array( $this, 'display_quick_edit_custom' ), 10, 2 );
54
  add_action( 'quick_edit_custom_box', array( $this, 'display_quick_edit_custom' ), 10, 2 );
55
 
56
  add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts_and_styles' ) );
57
+
58
  add_action( 'save_post', array( $this, 'save_meta_box' ) );
59
 
60
  add_action( 'wp_ajax_astra_save_post_bulk_edit', array( $this, 'save_post_bulk_edit' ) );
61
+
62
  }
63
 
64
  /**
65
  * Admin Init actions
66
  */
67
+ public function setup_admin_init() {
68
 
69
  $this->setup_bulk_options();
70
 
86
  }
87
  }
88
  }
89
+
90
  /**
91
  * Init bulk options
92
  */
93
+ public function setup_bulk_options() {
94
 
95
  /**
96
  * Set metabox options
98
  * @see http://php.net/manual/en/filter.filters.sanitize.php
99
  */
100
  self::$meta_option = apply_filters(
101
+ 'astra_meta_box_bulk_edit_options',
102
+ array(
103
+ 'ast-above-header-display' => array(
104
  'default' => 'no-change',
105
  'sanitize' => 'FILTER_DEFAULT',
106
  ),
107
+ 'ast-main-header-display' => array(
108
  'default' => 'no-change',
109
  'sanitize' => 'FILTER_DEFAULT',
110
  ),
111
+ 'ast-below-header-display' => array(
112
  'default' => 'no-change',
113
  'sanitize' => 'FILTER_DEFAULT',
114
  ),
115
+ 'ast-featured-img' => array(
116
  'default' => 'no-change',
117
  'sanitize' => 'FILTER_DEFAULT',
118
  ),
119
+ 'site-post-title' => array(
120
  'default' => 'no-change',
121
  'sanitize' => 'FILTER_DEFAULT',
122
  ),
123
+ 'site-sidebar-layout' => array(
124
  'default' => 'no-change',
125
  'sanitize' => 'FILTER_DEFAULT',
126
  ),
127
+ 'site-content-layout' => array(
128
  'default' => 'no-change',
129
  'sanitize' => 'FILTER_DEFAULT',
130
  ),
131
+ 'footer-sml-layout' => array(
132
  'default' => 'no-change',
133
  'sanitize' => 'FILTER_DEFAULT',
134
  ),
135
+ 'footer-adv-display' => array(
136
  'default' => 'no-change',
137
  'sanitize' => 'FILTER_DEFAULT',
138
  ),
140
  'default' => 'no-change',
141
  'sanitize' => 'FILTER_DEFAULT',
142
  ),
143
+ 'adv-header-id-meta' => array(
 
144
  'sanitize' => 'FILTER_DEFAULT',
145
  ),
146
+ 'stick-header-meta' => array(
147
  'default' => 'no-change',
148
  'sanitize' => 'FILTER_DEFAULT',
149
  ),
150
+ 'header-above-stick-meta' => array(
151
  'default' => 'no-change',
152
  'sanitize' => 'FILTER_DEFAULT',
153
  ),
154
+ 'header-main-stick-meta' => array(
155
  'default' => 'no-change',
156
  'sanitize' => 'FILTER_DEFAULT',
157
  ),
158
+ 'header-below-stick-meta' => array(
159
  'default' => 'no-change',
160
  'sanitize' => 'FILTER_DEFAULT',
161
  ),
162
+ 'ast-breadcrumbs-content' => array(
163
  'default' => 'no-change',
164
  'sanitize' => 'FILTER_DEFAULT',
165
  ),
180
  * @param number $post_id Post ID.
181
  * @return void
182
  */
183
+ public function save_meta_box( $post_id ) {
184
 
185
  // Checks save status.
186
  $is_autosave = wp_is_post_autosave( $post_id );
221
  break;
222
  }
223
 
224
+ // Store values.
225
  if ( 'no-change' !== $meta_value ) {
226
  update_post_meta( $post_id, $key, $meta_value );
227
  }
232
  /**
233
  * Save bulk edit options.
234
  */
235
+ public function save_post_bulk_edit() {
236
+ check_ajax_referer( 'astra-blk-nonce', 'astra_nonce' );
237
  $post_ids = ! empty( $_POST['post'] ) ? $_POST['post'] : array();
 
238
  if ( ! empty( $post_ids ) && is_array( $post_ids ) ) {
239
 
240
  /**
268
  break;
269
  }
270
 
271
+ // Store values.
272
  if ( 'no-change' !== $meta_value ) {
273
  update_post_meta( $post_id, $key, $meta_value );
274
  }
275
  }
276
  }
277
  }
278
+ wp_send_json_success();
 
279
  }
280
 
281
  /**
284
  * @param number $columns Columns.
285
  * @return array Column array.
286
  */
287
+ public function add_custom_admin_column( $columns ) {
288
  $new_columns = array();
289
 
290
  $new_columns['astra-settings'] = 'Astra Settings';
301
  * @param number $post_id Post ID.
302
  * @return void
303
  */
304
+ public function manage_custom_admin_columns( $column_name, $post_id ) {
305
 
306
  if ( 'astra-settings' == $column_name ) {
307
 
331
  $html .= '</div>';
332
  }
333
 
334
+ echo $html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
335
  }
336
 
337
  }
344
  * @param string $screen Screen.
345
  * @return void
346
  */
347
+ public function display_quick_edit_custom( $column, $screen ) {
348
 
349
  $html = '';
350
 
359
  <label class="inline-edit" for="site-sidebar-layout">
360
  <span class="title"><?php esc_html_e( 'Sidebar', 'astra-bulk-edit' ); ?></span>
361
  <select name="site-sidebar-layout" id="site-sidebar-layout">
362
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
363
+ <option value="default"><?php esc_html_e( 'Customizer Setting', 'astra-bulk-edit' ); ?></option>
364
+ <option value="left-sidebar"><?php esc_html_e( 'Left Sidebar', 'astra-bulk-edit' ); ?></option>
365
+ <option value="right-sidebar"><?php esc_html_e( 'Right Sidebar', 'astra-bulk-edit' ); ?></option>
366
+ <option value="no-sidebar"><?php esc_html_e( 'No Sidebar', 'astra-bulk-edit' ); ?></option>
367
  </select>
368
  </label>
369
 
370
  <label class="inline-edit" for="site-content-layout">
371
  <span class="title"><?php esc_html_e( 'Content Layout', 'astra-bulk-edit' ); ?></span>
372
  <select name="site-content-layout" id="site-content-layout">
373
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
374
+ <option value="default"><?php esc_html_e( 'Customizer Setting', 'astra-bulk-edit' ); ?></option>
375
+ <option value="boxed-container"><?php esc_html_e( 'Boxed', 'astra-bulk-edit' ); ?></option>
376
+ <option value="content-boxed-container"><?php esc_html_e( 'Content Boxed', 'astra-bulk-edit' ); ?></option>
377
+ <option value="plain-container"><?php esc_html_e( 'Full Width / Contained', 'astra-bulk-edit' ); ?></option>
378
+ <option value="page-builder"><?php esc_html_e( 'Full Width / Stretched', 'astra-bulk-edit' ); ?></option>
379
  </select>
380
  </label>
381
 
386
  <label class="inline-edit" for="ast-main-header-display">
387
  <span class="title"><?php esc_html_e( 'Primary Header', 'astra-bulk-edit' ); ?></span>
388
  <select name="ast-main-header-display" id="ast-main-header-display">
389
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
390
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
391
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
392
  </select>
394
  <?php if ( is_callable( 'Astra_Ext_Extension::is_active' ) ) : ?>
395
  <?php
396
  if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) {
397
+ $above_header_layout = astra_get_option( 'above-header-layout' );
398
+ if ( 'disabled' != $above_header_layout ) {
399
+ ?>
400
  <label class="inline-edit" for="ast-above-header-display">
401
  <span class="title"><?php esc_html_e( 'Above Header', 'astra-bulk-edit' ); ?></span>
402
  <select name="ast-above-header-display" id="ast-above-header-display">
403
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
404
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
405
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
406
  </select>
407
  </label>
408
  <?php } ?>
409
+ <?php
410
+ $below_header_layout = astra_get_option( 'below-header-layout' );
411
+ if ( 'disabled' != $below_header_layout ) {
412
+ ?>
413
  <label class="inline-edit" for="ast-below-header-display">
414
  <span class="title"><?php esc_html_e( 'Below Header', 'astra-bulk-edit' ); ?></span>
415
  <select name="ast-below-header-display" id="ast-below-header-display">
416
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
417
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
418
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
419
  </select>
420
  </label>
421
+ <?php
422
+ }
423
+ }
424
+ ?>
425
  <?php endif; ?>
426
 
427
+ <?php
428
+ $ast_theme_transparent_header = astra_get_option( 'theme-transparent-header-meta' );
429
+ if ( 'disabled' != $ast_theme_transparent_header ) {
430
+ ?>
431
  <label class="inline-edit" for="theme-transparent-header-meta">
432
  <span class="title"><?php esc_html_e( 'Transparent Header', 'astra-bulk-edit' ); ?></span>
433
  <select name="theme-transparent-header-meta" id="theme-transparent-header-meta">
434
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
435
  <option value="default"> <?php esc_html_e( 'Customizer Setting', 'astra-bulk-edit' ); ?> </option>
436
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
437
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
446
  <label class="inline-edit" for="ast-breadcrumbs-content">
447
  <span class="title"><?php esc_html_e( 'Breadcrumbs', 'astra-bulk-edit' ); ?></span>
448
  <select name="ast-breadcrumbs-content" id="ast-breadcrumbs-content">
449
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
450
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
451
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
452
  </select>
453
  </label>
454
  <?php
455
+ }
456
+ ?>
457
  <label class="inline-edit" for="site-post-title">
458
  <span class="title"><?php esc_html_e( 'Title', 'astra-bulk-edit' ); ?></span>
459
  <select name="site-post-title" id="site-post-title">
460
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
461
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
462
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
463
  </select>
464
  </label>
465
+
466
  <label class="inline-edit" for="ast-featured-img">
467
  <span class="title"><?php esc_html_e( 'Featured Image', 'astra-bulk-edit' ); ?></span>
468
  <select name="ast-featured-img" id="ast-featured-img">
469
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
470
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
471
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
472
  </select>
475
  <?php
476
  $footer_adv_layout = astra_get_option( 'footer-adv' );
477
  if ( 'disabled' != $footer_adv_layout ) {
478
+ ?>
479
  <label class="inline-edit" for="footer-adv-display">
480
  <span class="title"><?php esc_html_e( 'Footer Widgets', 'astra-bulk-edit' ); ?></span>
481
  <select name="footer-adv-display" id="footer-adv-display">
482
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
483
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
484
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
485
  </select>
489
  <?php
490
  $footer_sml_layout = astra_get_option( 'footer-sml-layout' );
491
  if ( 'disabled' != $footer_sml_layout ) {
492
+ ?>
493
  <label class="inline-edit" for="footer-sml-layout">
494
  <span class="title"><?php esc_html_e( 'Footer Bar', 'astra-bulk-edit' ); ?></span>
495
  <select name="footer-sml-layout" id="footer-sml-layout">
496
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
497
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
498
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
499
  </select>
506
  <div class="ast-float-left inline-edit-col-left wp-clearfix">
507
 
508
  <?php if ( is_callable( 'Astra_Ext_Extension::is_active' ) ) : ?>
 
509
  <?php if ( Astra_Ext_Extension::is_active( 'advanced-headers' ) ) : ?>
510
  <?php
511
  $header_options = Astra_Target_Rules_Fields::get_post_selection( 'astra_adv_header' );
521
  <span class="title"><?php esc_html_e( 'Page Header', 'astra-bulk-edit' ); ?></span>
522
  <select name="adv-header-id-meta" id="adv-header-id-meta">
523
  <?php foreach ( $header_options as $key => $value ) { ?>
524
+ <option value="<?php echo esc_attr( $key ); ?>"> <?php echo esc_html( $value ); ?></option>
525
  <?php } ?>
526
  </select>
527
  </label>
532
  <label class="inline-edit stick-header-meta-visibility" for="stick-header-meta">
533
  <span class="title"><?php esc_html_e( 'Sticky Header', 'astra-bulk-edit' ); ?></span>
534
  <select name="stick-header-meta" id="stick-header-meta">
535
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
536
  <option value="default"><?php esc_html_e( 'Customizer Setting', 'astra-bulk-edit' ); ?> </option>
537
  <option value="enabled"><?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
538
  <option value="disabled"><?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
543
  if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) {
544
  // Above Header Layout.
545
  $above_header_layout = astra_get_option( 'above-header-layout' );
546
+ if ( 'disabled' != $above_header_layout ) {
547
+ ?>
548
  <label class="inline-edit sticky-header-above-stick-meta" for="header-above-stick-meta">
549
  <span class="title"><?php esc_html_e( 'Stick Above Header', 'astra-bulk-edit' ); ?></span>
550
  <select name="header-above-stick-meta" id="header-above-stick-meta">
551
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
552
  <option value="on"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
553
  <option value="off"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
554
  </select>
555
  </label>
556
  <?php
 
557
  }
558
+ }
559
  // Main Header Layout.
560
  $header_layouts = astra_get_option( 'header-layouts' );
561
+ if ( 'header-main-layout-5' != $header_layouts ) {
562
+ ?>
563
  <label class="inline-edit sticky-header-main-stick-meta" for="header-main-stick-meta">
564
  <span class="title"><?php esc_html_e( 'Stick Primary Header', 'astra-bulk-edit' ); ?></span>
565
  <select name="header-main-stick-meta" id="header-main-stick-meta">
566
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
567
  <option value="enabled"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
568
  <option value="disabled"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
569
  </select>
570
  </label>
571
  <?php
572
+ }
573
+ if ( Astra_Ext_Extension::is_active( 'header-sections' ) ) {
574
+ // Below Header Layout.
575
+ $below_header_layout = astra_get_option( 'below-header-layout' );
576
+ if ( 'disabled' != $below_header_layout ) {
577
+ ?>
578
  <label class="inline-edit sticky-header-below-stick-meta" for="header-below-stick-meta">
579
  <span class="title"><?php esc_html_e( 'Stick Below Header', 'astra-bulk-edit' ); ?></span>
580
  <select name="header-below-stick-meta" id="header-below-stick-meta">
581
+ <option value="no-change" selected="selected"><?php esc_html_e( '— No Change —', 'astra-bulk-edit' ); ?></option>
582
  <option value="on"> <?php esc_html_e( 'Enabled', 'astra-bulk-edit' ); ?> </option>
583
  <option value="off"> <?php esc_html_e( 'Disabled', 'astra-bulk-edit' ); ?> </option>
584
  </select>
585
  </label>
586
  <?php
 
587
  }
588
+ }
589
+ ?>
590
  </div>
591
  <?php endif; ?>
592
 
596
 
597
  </div>
598
  </fieldset>
599
+ <?php
600
  }
601
  }
602
 
603
  /**
604
  * Quick edit and bulk edit script function.
605
  */
606
+ public function enqueue_admin_scripts_and_styles() {
607
  wp_enqueue_style( 'astra-blk-admin', ASTRA_BLK_URI . 'assets/css/astra-admin.css', array(), ASTRA_BLK_VER );
 
608
  $post_type = get_post_type();
609
  if ( 'product' !== $post_type && 'cartflows_flow' !== $post_type && 'cartflows_step' !== $post_type ) {
610
+ wp_enqueue_script( 'astra-blk-admin', ASTRA_BLK_URI . 'assets/js/astra-admin.js', array( 'jquery', 'inline-edit-post' ), ASTRA_BLK_VER, false );
611
+ wp_localize_script(
612
+ 'astra-blk-admin',
613
+ 'security',
614
+ array(
615
+ 'nonce' => wp_create_nonce( 'astra-blk-nonce' ),
616
+ )
617
+ );
618
  }
619
  }
620
  }
621
+ }
622
 
623
  /**
624
  * Kicking this off by calling 'get_instance()' method
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.2
7
- Stable tag: 1.2.2
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.2 =
65
  - Fix: CartFlows step template changes to default.
66
 
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
 
62
  == Changelog ==
63
 
64
+ = 1.2.3 =
65
+ - Improvement: Hardened the security of plugin
66
+ - Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
67
+
68
  = 1.2.2 =
69
  - Fix: CartFlows step template changes to default.
70