Version Description
- 2020-04-17 =
- Hotfix for getting meta value for checkbox list.
Download this release
Release Info
Developer | rilwis |
Plugin | Meta Box |
Version | 5.2.10 |
Comparing to | |
See all releases |
Code changes from version 5.2.9 to 5.2.10
- inc/field.php +1 -1
- inc/loader.php +1 -1
- meta-box.php +1 -1
- readme.txt +4 -1
inc/field.php
CHANGED
@@ -224,7 +224,7 @@ abstract class RWMB_Field {
|
|
224 |
|
225 |
// If users set std for a cloneable checkbox list field in the Builder, they can only set [value1, value2]. We need to transform it to [[value1, value2]].
|
226 |
// In other cases, make sure each value is an array.
|
227 |
-
$meta = is_array( $first ) ?
|
228 |
}
|
229 |
} elseif ( $field['multiple'] ) {
|
230 |
$meta = RWMB_Helpers_Array::ensure( $meta );
|
224 |
|
225 |
// If users set std for a cloneable checkbox list field in the Builder, they can only set [value1, value2]. We need to transform it to [[value1, value2]].
|
226 |
// In other cases, make sure each value is an array.
|
227 |
+
$meta = is_array( $first ) ? array_map( 'RWMB_Helpers_Array::ensure', $meta ) : array( $meta );
|
228 |
}
|
229 |
} elseif ( $field['multiple'] ) {
|
230 |
$meta = RWMB_Helpers_Array::ensure( $meta );
|
inc/loader.php
CHANGED
@@ -18,7 +18,7 @@ class RWMB_Loader {
|
|
18 |
*/
|
19 |
protected function constants() {
|
20 |
// Script version, used to add version for scripts and styles.
|
21 |
-
define( 'RWMB_VER', '5.2.
|
22 |
|
23 |
list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
|
24 |
|
18 |
*/
|
19 |
protected function constants() {
|
20 |
// Script version, used to add version for scripts and styles.
|
21 |
+
define( 'RWMB_VER', '5.2.10' );
|
22 |
|
23 |
list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
|
24 |
|
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 in WordPress.
|
6 |
-
* Version: 5.2.
|
7 |
* Author: MetaBox.io
|
8 |
* Author URI: https://metabox.io
|
9 |
* License: GPL2+
|
3 |
* Plugin Name: Meta Box
|
4 |
* Plugin URI: https://metabox.io
|
5 |
* Description: Create custom meta boxes and custom fields in WordPress.
|
6 |
+
* Version: 5.2.10
|
7 |
* Author: MetaBox.io
|
8 |
* Author URI: https://metabox.io
|
9 |
* License: GPL2+
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: meta-box, custom fields, custom field, meta, meta-boxes, admin, advanced,
|
|
5 |
Requires at least: 4.3
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.4
|
8 |
-
Stable tag: 5.2.
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
|
@@ -167,6 +167,9 @@ To getting started with the plugin, please read the [Quick Start Guide](https://
|
|
167 |
|
168 |
== Changelog ==
|
169 |
|
|
|
|
|
|
|
170 |
= 5.2.9 - 2020-04-17 =
|
171 |
- Fix cloning default value not working for some fields.
|
172 |
|
5 |
Requires at least: 4.3
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.4
|
8 |
+
Stable tag: 5.2.10
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
|
167 |
|
168 |
== Changelog ==
|
169 |
|
170 |
+
= 5.2.10 - 2020-04-17 =
|
171 |
+
- Hotfix for getting meta value for checkbox list.
|
172 |
+
|
173 |
= 5.2.9 - 2020-04-17 =
|
174 |
- Fix cloning default value not working for some fields.
|
175 |
|