Meta Box - Version 4.10.1

Version Description

Download this release

Release Info

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

Code changes from version 4.10 to 4.10.1

Files changed (4) hide show
  1. inc/loader.php +1 -1
  2. js/file-upload.js +1 -1
  3. meta-box.php +1 -1
  4. readme.txt +3 -0
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.10' );
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.10.1' );
23
 
24
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
25
 
js/file-upload.js CHANGED
@@ -107,7 +107,7 @@ jQuery( function ( $ ) {
107
  // so listeners to the upload queue can track and display upload progress.
108
  file.attachment = wp.media.model.Attachment.create( attributes );
109
  wp.Uploader.queue.add( file.attachment );
110
- self.controller.addItems( [file.attachment] );
111
  } );
112
 
113
  up.refresh();
107
  // so listeners to the upload queue can track and display upload progress.
108
  file.attachment = wp.media.model.Attachment.create( attributes );
109
  wp.Uploader.queue.add( file.attachment );
110
+ self.controller.get( 'items' ).add( [file.attachment] );
111
  } );
112
 
113
  up.refresh();
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.10
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 in WordPress.
6
+ * Version: 4.10.1
7
  * Author: Rilwis
8
  * Author URI: http://www.deluxeblogtips.com
9
  * License: GPL2+
readme.txt CHANGED
@@ -91,6 +91,9 @@ To getting started with the plugin API, please read [this tutorial](https://meta
91
 
92
  == Changelog ==
93
 
 
 
 
94
  #### 4.10
95
  * Improvement: Add `video` field type which allows users to upload or select video from the Media Library. See [demo](https://github.com/rilwis/meta-box/blob/master/demo/video.php).
96
  * Improvement: Update Turkish. Prop Emre Tuna <tunaemre@windowslive.com>.
91
 
92
  == Changelog ==
93
 
94
+ #### 4.10.1
95
+ * Fix: Fix `image_upload` and `plupload_image` field when select images to upload.
96
+
97
  #### 4.10
98
  * Improvement: Add `video` field type which allows users to upload or select video from the Media Library. See [demo](https://github.com/rilwis/meta-box/blob/master/demo/video.php).
99
  * Improvement: Update Turkish. Prop Emre Tuna <tunaemre@windowslive.com>.