Meta Box - Version 4.9.8

Version Description

Download this release

Release Info

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

Code changes from version 4.9.7 to 4.9.8

Files changed (5) hide show
  1. inc/loader.php +1 -1
  2. inc/validation.php +1 -1
  3. languages/readme.md +19 -0
  4. meta-box.php +1 -1
  5. readme.txt +4 -1
inc/loader.php CHANGED
@@ -19,7 +19,7 @@ class RWMB_Loader {
19
  */
20
  protected function constants() {
21
  // Script version, used to add version for scripts and styles
22
- define( 'RWMB_VER', '4.9.7' );
23
 
24
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
25
 
19
  */
20
  protected function constants() {
21
  // Script version, used to add version for scripts and styles
22
+ define( 'RWMB_VER', '4.9.8' );
23
 
24
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
25
 
inc/validation.php CHANGED
@@ -43,7 +43,7 @@ class RWMB_Validation {
43
  wp_enqueue_script( 'jquery-validation-additional-methods', RWMB_JS_URL . 'jquery-validation/additional-methods.min.js', array( 'jquery-validation' ), '1.15.0', true );
44
  wp_enqueue_script( 'rwmb-validate', RWMB_JS_URL . 'validate.js', array( 'jquery-validation', 'jquery-validation-additional-methods' ), RWMB_VER, true );
45
 
46
- self::localize_script( 'rwmb-validate', 'rwmbValidate', array(
47
  'summaryMessage' => esc_html__( 'Please correct the errors highlighted below and try again.', 'meta-box' ),
48
  ) );
49
  }
43
  wp_enqueue_script( 'jquery-validation-additional-methods', RWMB_JS_URL . 'jquery-validation/additional-methods.min.js', array( 'jquery-validation' ), '1.15.0', true );
44
  wp_enqueue_script( 'rwmb-validate', RWMB_JS_URL . 'validate.js', array( 'jquery-validation', 'jquery-validation-additional-methods' ), RWMB_VER, true );
45
 
46
+ RWMB_Field::localize_script( 'rwmb-validate', 'rwmbValidate', array(
47
  'summaryMessage' => esc_html__( 'Please correct the errors highlighted below and try again.', 'meta-box' ),
48
  ) );
49
  }
languages/readme.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # How To Translate Meta Box
2
+
3
+ ## Who translates Meta Box? How can I get involved?
4
+
5
+ Anyone can help by suggesting new translations [here](http://translate.wordpress.com/projects/meta-box/). No need to use a Translation Editor, you can do it all from [GlotPress](http://translate.wordpress.com/projects/meta-box/)!
6
+
7
+ Once you've suggested a new translation, a GlotPress validator will review it. They will then approve, reject, or change your suggestions. Once your changes get approved, they are automatically included in the next Meta Box release.
8
+
9
+ ## How does GlotPress work?
10
+
11
+ You can find detailed GlotPress documentation on [this page](https://en.support.wordpress.com/glotpress/).
12
+
13
+ ## Who decides which languages are available? I want my language added
14
+
15
+ If you can't find your language in GlotPress, [send us an email](https://metabox.io) and we'll add it for you.
16
+
17
+ == I want to change translations locally. Where can I download the .PO file for my language? ==
18
+
19
+ You'll find options to create a .PO file and export translations at the bottom of each language page in GlotPress.
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.7
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.8
7
  * Author: Rilwis
8
  * Author URI: http://www.deluxeblogtips.com
9
  * License: GPL2+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://paypal.me/anhtnt
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.7
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.
@@ -80,6 +80,9 @@ To getting started with the plugin API, please read [this tutorial](https://meta
80
 
81
  == Changelog ==
82
 
 
 
 
83
  = 4.9.7 =
84
  * Improvement: Re-add change event on media fields to make Conditional Logic extension works with media fields.
85
  * Improvement: Add `rwmb_choice_label`, `rwmv_{$field_type}_choice_label` and `rwmb_{field_id}_choice_label` filters for post, user, taxonomy fields, allowing users to customize the labels of choice fields.
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.8
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.
80
 
81
  == Changelog ==
82
 
83
+ #### 4.9.8
84
+ * Fix: Quick fix for enqueueing validation script
85
+
86
  = 4.9.7 =
87
  * Improvement: Re-add change event on media fields to make Conditional Logic extension works with media fields.
88
  * Improvement: Add `rwmb_choice_label`, `rwmv_{$field_type}_choice_label` and `rwmb_{field_id}_choice_label` filters for post, user, taxonomy fields, allowing users to customize the labels of choice fields.