Meta Box - Version 4.5.6

Version Description

  • Fix: Warning for timestamp for datetime field.
  • Fix: z-index for color picker.
  • Fix: Marker title in map
Download this release

Release Info

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

Code changes from version 4.5.5 to 4.5.6

css/color.css CHANGED
@@ -10,4 +10,5 @@
10
  }
11
  .rwmb-color-wrapper .wp-picker-holder {
12
  position: absolute;
 
13
  }
10
  }
11
  .rwmb-color-wrapper .wp-picker-holder {
12
  position: absolute;
13
+ z-index: 1;
14
  }
inc/fields/datetime.php CHANGED
@@ -92,11 +92,12 @@ if ( ! class_exists( 'RWMB_Datetime_Field' ) )
92
  */
93
  static function html( $meta, $field )
94
  {
 
95
  return sprintf(
96
  '<input type="text" class="rwmb-datetime" name="%s" value="%s" id="%s" size="%s" data-options="%s">',
97
  $field['field_name'],
98
- isset( $field['timestamp'] ) && $field['timestamp'] ? date( self::translate_format( $field ), $meta ) : $meta,
99
- isset( $field['clone'] ) && $field['clone'] ? '' : $field['id'],
100
  $field['size'],
101
  esc_attr( wp_json_encode( $field['js_options'] ) )
102
  );
92
  */
93
  static function html( $meta, $field )
94
  {
95
+ $meta = $field['timestamp'] && $meta ? date( self::translate_format( $field ), intval( $meta ) ) : $meta;
96
  return sprintf(
97
  '<input type="text" class="rwmb-datetime" name="%s" value="%s" id="%s" size="%s" data-options="%s">',
98
  $field['field_name'],
99
+ $meta,
100
+ $field['clone'] ? '' : $field['id'],
101
  $field['size'],
102
  esc_attr( wp_json_encode( $field['js_options'] ) )
103
  );
inc/fields/image-select.php CHANGED
@@ -76,8 +76,6 @@ if ( ! class_exists( 'RWMB_Image_Select_Field' ) )
76
  if ( ! $value )
77
  return '';
78
 
79
- $function = array( RW_Meta_Box::get_class_name( $field ), 'get_option_label' );
80
-
81
  if ( $field['clone'] )
82
  {
83
  $output = '<ul>';
76
  if ( ! $value )
77
  return '';
78
 
 
 
79
  if ( $field['clone'] )
80
  {
81
  $output = '<ul>';
js/map-frontend.js CHANGED
@@ -47,7 +47,7 @@ jQuery( function ( $ )
47
  // Set marker title
48
  if ( options.marker_title )
49
  {
50
- marker.setTitle( mapOptions.marker_title );
51
  }
52
  }
53
 
47
  // Set marker title
48
  if ( options.marker_title )
49
  {
50
+ marker.setTitle( options.marker_title );
51
  }
52
  }
53
 
meta-box.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Meta Box
4
  Plugin URI: http://metabox.io
5
  Description: Create meta box for editing pages in WordPress. Compatible with custom post types since WP 3.0
6
- Version: 4.5.5
7
  Author: Rilwis
8
  Author URI: http://www.deluxeblogtips.com
9
  License: GPL2+
@@ -13,7 +13,7 @@ License: GPL2+
13
  defined( 'ABSPATH' ) || exit;
14
 
15
  // Script version, used to add version for scripts and styles
16
- define( 'RWMB_VER', '4.5.5' );
17
 
18
  // Define plugin URLs, for fast enqueuing scripts and styles
19
  if ( ! defined( 'RWMB_URL' ) )
3
  Plugin Name: Meta Box
4
  Plugin URI: http://metabox.io
5
  Description: Create meta box for editing pages in WordPress. Compatible with custom post types since WP 3.0
6
+ Version: 4.5.6
7
  Author: Rilwis
8
  Author URI: http://www.deluxeblogtips.com
9
  License: GPL2+
13
  defined( 'ABSPATH' ) || exit;
14
 
15
  // Script version, used to add version for scripts and styles
16
+ define( 'RWMB_VER', '4.5.6' );
17
 
18
  // Define plugin URLs, for fast enqueuing scripts and styles
19
  if ( ! defined( 'RWMB_URL' ) )
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: rilwis, fitwp, f-j-kaiser, Omnicia, funkedgeek, PerWiklander, ruan
3
  Donate link: http://www.deluxeblogtips.com/donate
4
  Tags: meta-box, custom-fields, custom-field, meta, meta-boxes
5
  Requires at least: 3.5
6
- Tested up to: 4.2.2
7
- Stable tag: 4.5.5
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a complete tool to create meta box and custom fields in WordPress: lightweight, powerful and easy-to-use.
@@ -69,6 +69,11 @@ To getting started with the plugin API, please read [this tutorial](http://metab
69
 
70
  == Changelog ==
71
 
 
 
 
 
 
72
  = 4.5.5 =
73
  * Fix: CSS alignment for sort clone icon for field type `group` (require Meta Box Group extension)
74
  * Fix: rwmbSelect is not defined
3
  Donate link: http://www.deluxeblogtips.com/donate
4
  Tags: meta-box, custom-fields, custom-field, meta, meta-boxes
5
  Requires at least: 3.5
6
+ Tested up to: 4.2.3
7
+ Stable tag: 4.5.6
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a complete tool to create meta box and custom fields in WordPress: lightweight, powerful and easy-to-use.
69
 
70
  == Changelog ==
71
 
72
+ = 4.5.6 =
73
+ * Fix: Warning for timestamp for datetime field.
74
+ * Fix: z-index for color picker.
75
+ * Fix: Marker title in map
76
+
77
  = 4.5.5 =
78
  * Fix: CSS alignment for sort clone icon for field type `group` (require Meta Box Group extension)
79
  * Fix: rwmbSelect is not defined