Ocean Extra - Version 1.2.2.1

Version Description

  • Fixed: Theme Panel issue.
  • Fixed: Issue when disabling Font Awesome and Simple Line Icons, did not work anymore.
Download this release

Release Info

Developer oceanwp
Plugin Icon 128x128 Ocean Extra
Version 1.2.2.1
Comparing to
See all releases

Code changes from version 1.2.2 to 1.2.2.1

includes/panel/scripts.php CHANGED
@@ -34,7 +34,7 @@ class Ocean_Extra_Scripts_Panel {
34
  } else {
35
 
36
  // Enqueue scripts
37
- add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
38
 
39
  // Add body classes
40
  add_filter( 'body_class', array( $this, 'body_classes' ) );
34
  } else {
35
 
36
  // Enqueue scripts
37
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 999 );
38
 
39
  // Add body classes
40
  add_filter( 'body_class', array( $this, 'body_classes' ) );
includes/panel/theme-panel.php CHANGED
@@ -21,16 +21,16 @@ class Ocean_Extra_Theme_Panel {
21
  public function __construct() {
22
 
23
  // Add panel menu
24
- add_action( 'admin_menu', array( $this, 'add_page' ), 0 );
25
 
26
  // Add panel submenu
27
- add_action( 'admin_menu', array( $this, 'add_menu_subpage' ) );
28
 
29
  // Add custom CSS for the theme panel
30
- add_action( 'admin_enqueue_scripts', array( $this, 'css' ) );
31
 
32
  // Register panel settings
33
- add_action( 'admin_init', array( $this,'register_settings' ) );
34
 
35
  // Load addon files
36
  self::load_addons();
@@ -156,7 +156,7 @@ class Ocean_Extra_Theme_Panel {
156
  esc_html__( 'General', 'ocean-extra' ),
157
  'manage_options',
158
  'oceanwp-panel',
159
- array( $this, 'create_admin_page' )
160
  );
161
  }
162
 
21
  public function __construct() {
22
 
23
  // Add panel menu
24
+ add_action( 'admin_menu', array( 'Ocean_Extra_Theme_Panel', 'add_page' ), 0 );
25
 
26
  // Add panel submenu
27
+ add_action( 'admin_menu', array( 'Ocean_Extra_Theme_Panel', 'add_menu_subpage' ) );
28
 
29
  // Add custom CSS for the theme panel
30
+ add_action( 'admin_enqueue_scripts', array( 'Ocean_Extra_Theme_Panel', 'css' ) );
31
 
32
  // Register panel settings
33
+ add_action( 'admin_init', array( 'Ocean_Extra_Theme_Panel','register_settings' ) );
34
 
35
  // Load addon files
36
  self::load_addons();
156
  esc_html__( 'General', 'ocean-extra' ),
157
  'manage_options',
158
  'oceanwp-panel',
159
+ array( 'Ocean_Extra_Theme_Panel', 'create_admin_page' )
160
  );
161
  }
162
 
ocean-extra.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: Ocean Extra
4
  * Plugin URI: https://oceanwp.org/extension/ocean-extra/
5
  * Description: Add extra features like widgets, metaboxes, import/export and a panel to activate the premium extensions.
6
- * Version: 1.2.2
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.5.0
10
- * Tested up to: 4.7.4
11
  *
12
  * Text Domain: ocean-extra
13
  * Domain Path: /languages/
@@ -86,7 +86,7 @@ final class Ocean_Extra {
86
  $this->token = 'ocean-extra';
87
  $this->plugin_url = plugin_dir_url( __FILE__ );
88
  $this->plugin_path = plugin_dir_path( __FILE__ );
89
- $this->version = '1.2.2';
90
 
91
  define( 'OE_URL', $this->plugin_url );
92
  define( 'OE_PATH', $this->plugin_path );
3
  * Plugin Name: Ocean Extra
4
  * Plugin URI: https://oceanwp.org/extension/ocean-extra/
5
  * Description: Add extra features like widgets, metaboxes, import/export and a panel to activate the premium extensions.
6
+ * Version: 1.2.2.1
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.5.0
10
+ * Tested up to: 4.8
11
  *
12
  * Text Domain: ocean-extra
13
  * Domain Path: /languages/
86
  $this->token = 'ocean-extra';
87
  $this->plugin_url = plugin_dir_url( __FILE__ );
88
  $this->plugin_path = plugin_dir_path( __FILE__ );
89
+ $this->version = '1.2.2.1';
90
 
91
  define( 'OE_URL', $this->plugin_url );
92
  define( 'OE_PATH', $this->plugin_path );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: oceanwp
3
  Tags: widgets, meta box, metaboxes, metabox, oceanwp
4
  Requires at least: 4.5
5
  Tested up to: 4.8
6
- Stable tag: 1.2.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -32,6 +32,10 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
32
 
33
  == Changelog ==
34
 
 
 
 
 
35
  = 1.2.2 =
36
  - Added: New way to add an icon for your menu items, now you can see available icons, change the size, put your icon before/after or above text, hide text, etc.
37
  - Added: New "Rec. Plugins" tab in Theme Panel to easily allow you to install recommended plugins.
3
  Tags: widgets, meta box, metaboxes, metabox, oceanwp
4
  Requires at least: 4.5
5
  Tested up to: 4.8
6
+ Stable tag: 1.2.2.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
32
 
33
  == Changelog ==
34
 
35
+ = 1.2.2.1 =
36
+ - Fixed: Theme Panel issue.
37
+ - Fixed: Issue when disabling Font Awesome and Simple Line Icons, did not work anymore.
38
+
39
  = 1.2.2 =
40
  - Added: New way to add an icon for your menu items, now you can see available icons, change the size, put your icon before/after or above text, hide text, etc.
41
  - Added: New "Rec. Plugins" tab in Theme Panel to easily allow you to install recommended plugins.