Accordion - Version 2.2.48

Version Description

  • 2022-08-29 - update - Settings page slug changed
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Accordion
Version 2.2.48
Comparing to
See all releases

Code changes from version 2.2.47 to 2.2.48

Files changed (3) hide show
  1. accordions.php +3 -3
  2. includes/class-settings.php +1 -1
  3. readme.txt +4 -1
accordions.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Accordions by PickPlugins
4
  Plugin URI: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
- Version: 2.2.47
7
  Author: PickPlugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: accordions
@@ -23,7 +23,7 @@ class Accordions
23
 
24
  define('accordions_plugin_url', plugins_url('/', __FILE__));
25
  define('accordions_plugin_dir', plugin_dir_path(__FILE__));
26
- define('accordions_version', '2.2.47');
27
  define('accordions_plugin_name', 'Accordions');
28
  define('accordions_plugin_basename', plugin_basename(__FILE__));
29
 
@@ -150,7 +150,7 @@ class Accordions
150
  wp_register_style('font-awesome-4', accordions_plugin_url . 'assets/global/css/font-awesome-4.css');
151
  wp_register_style('font-awesome-5', accordions_plugin_url . 'assets/global/css/font-awesome-5.css');
152
 
153
- if ($screen->id == 'accordions' || $screen->id == 'accordions_page_settings') {
154
  $settings_tabs_field = new settings_tabs_field();
155
  $settings_tabs_field->admin_scripts();
156
  }
3
  Plugin Name: Accordions by PickPlugins
4
  Plugin URI: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
+ Version: 2.2.48
7
  Author: PickPlugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: accordions
23
 
24
  define('accordions_plugin_url', plugins_url('/', __FILE__));
25
  define('accordions_plugin_dir', plugin_dir_path(__FILE__));
26
+ define('accordions_version', '2.2.48');
27
  define('accordions_plugin_name', 'Accordions');
28
  define('accordions_plugin_basename', plugin_basename(__FILE__));
29
 
150
  wp_register_style('font-awesome-4', accordions_plugin_url . 'assets/global/css/font-awesome-4.css');
151
  wp_register_style('font-awesome-5', accordions_plugin_url . 'assets/global/css/font-awesome-5.css');
152
 
153
+ if ($screen->id == 'accordions' || $screen->id == 'accordions_page_accordions-settings') {
154
  $settings_tabs_field = new settings_tabs_field();
155
  $settings_tabs_field->admin_scripts();
156
  }
includes/class-settings.php CHANGED
@@ -18,7 +18,7 @@ class accordions_class_settings{
18
  $accordions_upgrade = isset($accordions_plugin_info['accordions_upgrade']) ? $accordions_plugin_info['accordions_upgrade'] : '';
19
 
20
 
21
- add_submenu_page( 'edit.php?post_type=accordions', __( 'Settings', 'accordions' ), __( 'Settings', 'accordions' ), 'manage_options', 'settings', array( $this, 'settings' ) );
22
 
23
  if($accordions_upgrade != 'done'){
24
  //add_submenu_page( 'edit.php?post_type=accordions', __( 'Upgrade status', 'accordions' ), __( 'Upgrade status', 'accordions' ), 'manage_options', 'upgrade_status', array( $this, 'upgrade_status' ) );
18
  $accordions_upgrade = isset($accordions_plugin_info['accordions_upgrade']) ? $accordions_plugin_info['accordions_upgrade'] : '';
19
 
20
 
21
+ add_submenu_page( 'edit.php?post_type=accordions', __( 'Settings', 'accordions' ), __( 'Settings', 'accordions' ), 'manage_options', 'accordions-settings', array( $this, 'settings' ) );
22
 
23
  if($accordions_upgrade != 'done'){
24
  //add_submenu_page( 'edit.php?post_type=accordions', __( 'Upgrade status', 'accordions' ), __( 'Upgrade status', 'accordions' ), 'manage_options', 'upgrade_status', array( $this, 'upgrade_status' ) );
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
  Tested up to: 6.0
7
- Stable tag: 2.2.47
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -139,6 +139,9 @@ then paste this shortcode anywhere in your page to display accordions<br />
139
 
140
  == Changelog ==
141
 
 
 
 
142
  = 2.2.47 =
143
  * 2022-08-29 - fix - Escape issue fixed.
144
  * 2022-08-29 - add - Added filter hook "accordions_wp_kses" for allowed html tags for escaping.
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
  Tested up to: 6.0
7
+ Stable tag: 2.2.48
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 2.2.48 =
143
+ * 2022-08-29 - update - Settings page slug changed
144
+
145
  = 2.2.47 =
146
  * 2022-08-29 - fix - Escape issue fixed.
147
  * 2022-08-29 - add - Added filter hook "accordions_wp_kses" for allowed html tags for escaping.