Version Description
- Fix: Quick fix for wrong field wrapper class which causes color field to render incorrectly
Download this release
Release Info
Developer | rilwis |
Plugin | Meta Box |
Version | 4.9.5 |
Comparing to | |
See all releases |
Code changes from version 4.9.4 to 4.9.5
- inc/field.php +1 -6
- inc/loader.php +1 -1
- meta-box.php +1 -1
- readme.txt +4 -1
inc/field.php
CHANGED
@@ -28,8 +28,6 @@ abstract class RWMB_Field
|
|
28 |
*
|
29 |
* @param array $field
|
30 |
* @param bool $saved
|
31 |
-
*
|
32 |
-
* @return string
|
33 |
*/
|
34 |
public static function show( $field, $saved )
|
35 |
{
|
@@ -303,9 +301,6 @@ abstract class RWMB_Field
|
|
303 |
'attributes' => array(),
|
304 |
) );
|
305 |
|
306 |
-
$classes = array_merge( array( "rwmb-{$field['type']}" ), (array) $field['class'] );
|
307 |
-
$field['class'] = trim( implode( ' ', $classes ) );
|
308 |
-
|
309 |
return $field;
|
310 |
}
|
311 |
|
@@ -322,7 +317,7 @@ abstract class RWMB_Field
|
|
322 |
$attributes = wp_parse_args( $field['attributes'], array(
|
323 |
'disabled' => $field['disabled'],
|
324 |
'required' => $field['required'],
|
325 |
-
'class' => $field['
|
326 |
'id' => $field['id'],
|
327 |
'name' => $field['field_name'],
|
328 |
) );
|
28 |
*
|
29 |
* @param array $field
|
30 |
* @param bool $saved
|
|
|
|
|
31 |
*/
|
32 |
public static function show( $field, $saved )
|
33 |
{
|
301 |
'attributes' => array(),
|
302 |
) );
|
303 |
|
|
|
|
|
|
|
304 |
return $field;
|
305 |
}
|
306 |
|
317 |
$attributes = wp_parse_args( $field['attributes'], array(
|
318 |
'disabled' => $field['disabled'],
|
319 |
'required' => $field['required'],
|
320 |
+
'class' => "rwmb-{$field['type']}",
|
321 |
'id' => $field['id'],
|
322 |
'name' => $field['field_name'],
|
323 |
) );
|
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.
|
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.5' );
|
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 for any post type in WordPress.
|
6 |
-
* Version: 4.9.
|
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.5
|
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.
|
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.4 =
|
84 |
* Fix: Quick fix for cloning bug
|
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.5
|
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.5 =
|
84 |
+
* Fix: Quick fix for wrong field wrapper class which causes color field to render incorrectly
|
85 |
+
|
86 |
= 4.9.4 =
|
87 |
* Fix: Quick fix for cloning bug
|
88 |
|