Meta Box - Version 4.13.4

Version Description

Download this release

Release Info

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

Code changes from version 4.13.3 to 4.13.4

Files changed (5) hide show
  1. inc/fields/text-list.php +1 -1
  2. inc/loader.php +1 -1
  3. js/clone.js +4 -4
  4. meta-box.php +1 -1
  5. readme.txt +2 -2
inc/fields/text-list.php CHANGED
@@ -51,7 +51,7 @@ class RWMB_Text_List_Field extends RWMB_Multiple_Values_Field {
51
  foreach ( $field['options'] as $label ) {
52
  $output .= "<th>$label</th>";
53
  }
54
- $output .= '<tr>';
55
 
56
  if ( ! $field['clone'] ) {
57
  $output .= self::format_single_value( $field, $value, $args, $post_id );
51
  foreach ( $field['options'] as $label ) {
52
  $output .= "<th>$label</th>";
53
  }
54
+ $output .= '</tr></thead><tbody>';
55
 
56
  if ( ! $field['clone'] ) {
57
  $output .= self::format_single_value( $field, $value, $args, $post_id );
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', '4.13.3' );
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', '4.13.4' );
22
 
23
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
24
 
js/clone.js CHANGED
@@ -139,16 +139,16 @@ jQuery( function ( $ ) {
139
  inputSelectors = 'input[class*="rwmb"], textarea[class*="rwmb"], select[class*="rwmb"], button[class*="rwmb"]',
140
  nextIndex = cloneIndex.nextIndex( $container );
141
 
 
 
 
 
142
  // Insert Clone
143
  $clone.insertAfter( $last );
144
 
145
  // Trigger custom event for the clone instance. Required for Group extension to update sub fields.
146
  $clone.trigger( 'clone_instance', nextIndex );
147
 
148
- // Reset value for fields
149
- var $inputs = $clone.find( inputSelectors );
150
- $inputs.each( cloneValue.reset );
151
-
152
  // Set fields index. Must run before trigger clone event.
153
  cloneIndex.set( $inputs, nextIndex );
154
 
139
  inputSelectors = 'input[class*="rwmb"], textarea[class*="rwmb"], select[class*="rwmb"], button[class*="rwmb"]',
140
  nextIndex = cloneIndex.nextIndex( $container );
141
 
142
+ // Reset value for fields
143
+ var $inputs = $clone.find( inputSelectors );
144
+ $inputs.each( cloneValue.reset );
145
+
146
  // Insert Clone
147
  $clone.insertAfter( $last );
148
 
149
  // Trigger custom event for the clone instance. Required for Group extension to update sub fields.
150
  $clone.trigger( 'clone_instance', nextIndex );
151
 
 
 
 
 
152
  // Set fields index. Must run before trigger clone event.
153
  cloneIndex.set( $inputs, nextIndex );
154
 
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: 4.13.3
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: 4.13.4
7
  * Author: MetaBox.io
8
  * Author URI: https://metabox.io
9
  * License: GPL2+
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Meta Box ===
2
  Contributors: metabox, rilwis, fitwp, f-j-kaiser, funkatronic, PerWiklander, ruanmer, Omnicia
3
- 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.3
6
  Tested up to: 4.9.4
7
- Stable tag: 4.13.3
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
1
  === Meta Box ===
2
  Contributors: metabox, rilwis, fitwp, f-j-kaiser, funkatronic, PerWiklander, ruanmer, Omnicia
3
+ Donate link: https://metabox.io/pricing/
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.3
6
  Tested up to: 4.9.4
7
+ Stable tag: 4.13.4
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.