Meta Box - Version 4.9.2

Version Description

  • Fix: Quick fix validation
Download this release

Release Info

Developer rilwis
Plugin Icon 128x128 Meta Box
Version 4.9.2
Comparing to
See all releases

Code changes from version 4.9.1 to 4.9.2

Files changed (4) hide show
  1. inc/loader.php +1 -1
  2. inc/validation.php +4 -3
  3. meta-box.php +1 -1
  4. readme.txt +6 -3
inc/loader.php CHANGED
@@ -18,7 +18,7 @@ class RWMB_Loader
18
  protected function constants()
19
  {
20
  // Script version, used to add version for scripts and styles
21
- define( 'RWMB_VER', '4.9.1' );
22
 
23
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
24
 
18
  protected function constants()
19
  {
20
  // Script version, used to add version for scripts and styles
21
+ define( 'RWMB_VER', '4.9.2' );
22
 
23
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
24
 
inc/validation.php CHANGED
@@ -43,8 +43,9 @@ class RWMB_Validation
43
  }
44
  wp_enqueue_script( 'jquery-validation', RWMB_JS_URL . 'jquery-validation/jquery.validate.min.js', array( 'jquery' ), '1.15.0', true );
45
  wp_enqueue_script( 'jquery-validation-additional-methods', RWMB_JS_URL . 'jquery-validation/additional-methods.min.js', array( 'jquery-validation' ), '1.15.0', true );
46
- wp_enqueue_script( 'rwmb-validate', RWMB_JS_URL . 'validate.js', array( 'jquery-validate' ), RWMB_VER, true );
47
- /**
 
48
  * Prevent loading localized string twice.
49
  * @link https://github.com/rilwis/meta-box/issues/850
50
  */
@@ -52,7 +53,7 @@ class RWMB_Validation
52
  if ( ! $wp_scripts->get_data( 'rwmb-validate', 'data' ) )
53
  {
54
  wp_localize_script( 'rwmb-validate', 'rwmbValidate', array(
55
- 'summaryMessage' => __( 'Please correct the errors highlighted below and try again.', 'meta-box' ),
56
  ) );
57
  }
58
  }
43
  }
44
  wp_enqueue_script( 'jquery-validation', RWMB_JS_URL . 'jquery-validation/jquery.validate.min.js', array( 'jquery' ), '1.15.0', true );
45
  wp_enqueue_script( 'jquery-validation-additional-methods', RWMB_JS_URL . 'jquery-validation/additional-methods.min.js', array( 'jquery-validation' ), '1.15.0', true );
46
+ wp_enqueue_script( 'rwmb-validate', RWMB_JS_URL . 'validate.js', array( 'jquery-validation', 'jquery-validation-additional-methods' ), RWMB_VER, true );
47
+
48
+ /*
49
  * Prevent loading localized string twice.
50
  * @link https://github.com/rilwis/meta-box/issues/850
51
  */
53
  if ( ! $wp_scripts->get_data( 'rwmb-validate', 'data' ) )
54
  {
55
  wp_localize_script( 'rwmb-validate', 'rwmbValidate', array(
56
+ 'summaryMessage' => esc_html__( 'Please correct the errors highlighted below and try again.', 'meta-box' ),
57
  ) );
58
  }
59
  }
meta-box.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Meta Box
4
  * Plugin URI: https://metabox.io
5
  * Description: Create custom meta boxes and custom fields for any post type in WordPress.
6
- * Version: 4.9.1
7
  * Author: Rilwis
8
  * Author URI: http://www.deluxeblogtips.com
9
  * License: GPL2+
3
  * Plugin Name: Meta Box
4
  * Plugin URI: https://metabox.io
5
  * Description: Create custom meta boxes and custom fields for any post type in WordPress.
6
+ * Version: 4.9.2
7
  * Author: Rilwis
8
  * Author URI: http://www.deluxeblogtips.com
9
  * License: GPL2+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.deluxeblogtips.com/donate
4
  Tags: meta-box, custom fields, custom field, meta, meta-boxes, admin, advanced, custom, edit, field, file, image, magic fields, matrix, more fields, Post, repeater, simple fields, text, textarea, type, cms, fields post
5
  Requires at least: 4.1
6
  Tested up to: 4.6.1
7
- Stable tag: 4.9.1
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a powerful, professional solution to create custom meta boxes and custom fields for WordPress websites.
@@ -33,8 +33,8 @@ See more documentation [here](https://metabox.io/docs/).
33
 
34
  ### Extensions
35
 
36
- - [MB User Meta](https://metabox.io/plugins/mb-user-meta/)|Add custom fields to user profile (user meta) quickly with simple syntax.
37
- - [Meta Box Geolocation](https://metabox.io/plugins/meta-box-geolocation/)|Automatically and instantly populate location data with the power of Google Maps Geolocation API.
38
  - [MB Admin Columns](https://metabox.io/plugins/mb-admin-columns/): Display custom fields in table columns in admin screens for All Posts (types).
39
  - [MB Term Meta](https://metabox.io/plugins/mb-term-meta/): Add meta data to categories, tags or any custom taxonomy with simple syntax.
40
  - [MB Settings Page](https://metabox.io/plugins/mb-settings-page/): Create settings pages for themes, plugins or websites with beautiful syntax.
@@ -80,6 +80,9 @@ To getting started with the plugin API, please read [this tutorial](https://meta
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 4.9.1 =
84
  * Fix: Quick fix for `rwmb_meta()` to be better backward compatible
85
 
4
  Tags: meta-box, custom fields, custom field, meta, meta-boxes, admin, advanced, custom, edit, field, file, image, magic fields, matrix, more fields, Post, repeater, simple fields, text, textarea, type, cms, fields post
5
  Requires at least: 4.1
6
  Tested up to: 4.6.1
7
+ Stable tag: 4.9.2
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a powerful, professional solution to create custom meta boxes and custom fields for WordPress websites.
33
 
34
  ### Extensions
35
 
36
+ - [MB User Meta](https://metabox.io/plugins/mb-user-meta/): Add custom fields to user profile (user meta) quickly with simple syntax.
37
+ - [Meta Box Geolocation](https://metabox.io/plugins/meta-box-geolocation/): Automatically and instantly populate location data with the power of Google Maps Geolocation API.
38
  - [MB Admin Columns](https://metabox.io/plugins/mb-admin-columns/): Display custom fields in table columns in admin screens for All Posts (types).
39
  - [MB Term Meta](https://metabox.io/plugins/mb-term-meta/): Add meta data to categories, tags or any custom taxonomy with simple syntax.
40
  - [MB Settings Page](https://metabox.io/plugins/mb-settings-page/): Create settings pages for themes, plugins or websites with beautiful syntax.
80
 
81
  == Changelog ==
82
 
83
+ = 4.9.2 =
84
+ * Fix: Quick fix validation
85
+
86
  = 4.9.1 =
87
  * Fix: Quick fix for `rwmb_meta()` to be better backward compatible
88