Ocean Extra - Version 1.1.4.2

Version Description

  • Color picker script moved to use it in all metaboxes.
Download this release

Release Info

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

Code changes from version 1.1.4.1 to 1.1.4.2

includes/metabox/butterbean/class-butterbean.php CHANGED
@@ -648,6 +648,9 @@ if ( ! class_exists( 'OceanWP_ButterBean' ) ) {
648
  // Enqueue the select2 style from theme.
649
  wp_enqueue_style( 'select2-css', OCEANWP_INC_DIR_URI . 'customizer/controls/typography/select2.min.css', null );
650
 
 
 
 
651
  // Enqueue the main plugin script.
652
  wp_enqueue_script( 'butterbean', $this->dir_uri . "js/butterbean{$min}.js", array( 'backbone', 'wp-util' ), '', true );
653
 
648
  // Enqueue the select2 style from theme.
649
  wp_enqueue_style( 'select2-css', OCEANWP_INC_DIR_URI . 'customizer/controls/typography/select2.min.css', null );
650
 
651
+ // Enqueue color picker alpha
652
+ wp_enqueue_script( 'wp-color-picker-alpha', $this->dir_uri . "js/wp-color-picker-alpha.js", array( 'wp-color-picker' ), false, true );
653
+
654
  // Enqueue the main plugin script.
655
  wp_enqueue_script( 'butterbean', $this->dir_uri . "js/butterbean{$min}.js", array( 'backbone', 'wp-util' ), '', true );
656
 
includes/metabox/{assets → butterbean}/js/wp-color-picker-alpha.js RENAMED
File without changes
includes/metabox/metabox.php CHANGED
@@ -76,9 +76,6 @@ if ( ! class_exists( 'OceanWP_Post_Metabox' ) ) {
76
  return;
77
  }
78
 
79
- // Enqueue color picker alpha
80
- wp_enqueue_script( 'wp-color-picker-alpha', plugins_url( '/assets/js/wp-color-picker-alpha.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
81
-
82
  // Enqueue the main script.
83
  wp_enqueue_script( 'oceanwp-metabox-script', plugins_url( '/assets/js/metabox.min.js', __FILE__ ), array( 'jquery' ), OE_VERSION, true );
84
 
@@ -356,7 +353,7 @@ if ( ! class_exists( 'OceanWP_Post_Metabox' ) ) {
356
  'section' => 'oceanwp_mb_title',
357
  'type' => 'color',
358
  'label' => esc_html__( 'Title: Background Color', 'ocean-extra' ),
359
- 'description' => esc_html__( 'Select a color. Hex code or rgba value, ex: #333', 'ocean-extra' ),
360
  'alpha' => 'false',
361
  )
362
  );
76
  return;
77
  }
78
 
 
 
 
79
  // Enqueue the main script.
80
  wp_enqueue_script( 'oceanwp-metabox-script', plugins_url( '/assets/js/metabox.min.js', __FILE__ ), array( 'jquery' ), OE_VERSION, true );
81
 
353
  'section' => 'oceanwp_mb_title',
354
  'type' => 'color',
355
  'label' => esc_html__( 'Title: Background Color', 'ocean-extra' ),
356
+ 'description' => esc_html__( 'Select a hex color code, ex: #333', 'ocean-extra' ),
357
  'alpha' => 'false',
358
  )
359
  );
ocean-extra.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Ocean Extra
4
  * Plugin URI: https://oceanwp.org/extension/ocean-extra/
5
  * Description: Add extra features like metaboxes, Import/Export and a panel to activate the premium extensions.
6
- * Version: 1.1.4.1
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.0.0
@@ -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.1.4.1';
90
 
91
  define( 'OE_PATH', $this->plugin_path );
92
  define( 'OE_VERSION', $this->version );
3
  * Plugin Name: Ocean Extra
4
  * Plugin URI: https://oceanwp.org/extension/ocean-extra/
5
  * Description: Add extra features like metaboxes, Import/Export and a panel to activate the premium extensions.
6
+ * Version: 1.1.4.2
7
  * Author: OceanWP
8
  * Author URI: https://oceanwp.org/
9
  * Requires at least: 4.0.0
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.1.4.2';
90
 
91
  define( 'OE_PATH', $this->plugin_path );
92
  define( 'OE_VERSION', $this->version );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: oceanwp
3
  Tags: meta boxes, meta box, metaboxes, metabox, social sharing, oceanwp
4
  Requires at least: 3.5
5
  Tested up to: 4.7.2
6
- Stable tag: 1.1.4.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -33,6 +33,9 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
33
 
34
  == Changelog ==
35
 
 
 
 
36
  = 1.1.4.1 =
37
  - Admin script loaded only when necessary.
38
 
3
  Tags: meta boxes, meta box, metaboxes, metabox, social sharing, oceanwp
4
  Requires at least: 3.5
5
  Tested up to: 4.7.2
6
+ Stable tag: 1.1.4.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
33
 
34
  == Changelog ==
35
 
36
+ = 1.1.4.2 =
37
+ - Color picker script moved to use it in all metaboxes.
38
+
39
  = 1.1.4.1 =
40
  - Admin script loaded only when necessary.
41