From 73190f2338e5ddc352643dd6eb47a3aa91c09a4f Mon Sep 17 00:00:00 2001 From: Anh Date: Wed, 18 Nov 2015 09:30:23 +0700 Subject: [PATCH] Version 4.7 --- meta-box-loader.php | 2 +- meta-box.php | 4 ++-- readme.md | 6 ++++++ readme.txt | 8 +++++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/meta-box-loader.php b/meta-box-loader.php index 4047c158b..3ee502d44 100644 --- a/meta-box-loader.php +++ b/meta-box-loader.php @@ -4,7 +4,7 @@ class RWMB_Loader { static function load( $url, $dir ) { - define( 'RWMB_VER', '4.6' ); + define( 'RWMB_VER', '4.7' ); define( 'RWMB_URL', $url ); define( 'RWMB_DIR', $dir ); diff --git a/meta-box.php b/meta-box.php index 32d45653c..8c9c9245a 100644 --- a/meta-box.php +++ b/meta-box.php @@ -3,7 +3,7 @@ * Plugin Name: Meta Box * Plugin URI: https://metabox.io * Description: Create custom meta boxes and custom fields for any post type in WordPress. - * Version: 4.6 + * Version: 4.7 * Author: Rilwis * Author URI: http://www.deluxeblogtips.com * License: GPL2+ @@ -15,7 +15,7 @@ defined( 'ABSPATH' ) || exit; // Script version, used to add version for scripts and styles -define( 'RWMB_VER', '4.6' ); +define( 'RWMB_VER', '4.7' ); // Define plugin URLs, for fast enqueuing scripts and styles if ( ! defined( 'RWMB_URL' ) ) diff --git a/readme.md b/readme.md index 0cea04a90..9241ccd99 100644 --- a/readme.md +++ b/readme.md @@ -86,6 +86,12 @@ To getting started with the plugin API, please read [this tutorial](https://meta ## Changelog +#### 4.7 + +* Improvement: add `attributes` for all input fields (text, number, email, ...) so users can add any custom attributes for them. Also added default attributes `required`, `disabled`, `readonly`, `maxlength` and `pattern` for those fields as well. These attributes will be merged into the `attributes`. +* Improvement: add `js_options` for color field which allows users to define custom color palettes and other attributes for color picker. See the options in [Iris page](http://automattic.github.io/Iris/). +* Fix: fix for file and image uploaded via `file_advanced` and `image_advanced` not showing up. + #### 4.6 * Improvement: the plugin translation is now handled in translate.wordpress.org. While the plugin keeps old translation as backward compatibility, it's recommended to translate everything in translate.wordpress.org. Language packs will be automatically updated by WordPress. diff --git a/readme.txt b/readme.txt index 7cc634411..e631c21d7 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: http://www.deluxeblogtips.com/donate 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 Requires at least: 3.5 Tested up to: 4.3.1 -Stable tag: 4.6 +Stable tag: 4.7 License: GPLv2 or later Meta Box plugin is a powerful, professional solution to create custom meta boxes and custom fields for WordPress websites. @@ -75,6 +75,12 @@ To getting started with the plugin API, please read [this tutorial](https://meta == Changelog == += 4.7 = + +* Improvement: add `attributes` for all input fields (text, number, email, ...) so users can add any custom attributes for them. Also added default attributes `required`, `disabled`, `readonly`, `maxlength` and `pattern` for those fields as well. These attributes will be merged into the `attributes`. +* Improvement: add `js_options` for color field which allows users to define custom color palettes and other attributes for color picker. See the options in [Iris page](http://automattic.github.io/Iris/). +* Fix: fix for file and image uploaded via `file_advanced` and `image_advanced` not showing up. + = 4.6 = * Improvement: the plugin translation is now handled in translate.wordpress.org. While the plugin keeps old translation as backward compatibility, it's recommended to translate everything in translate.wordpress.org. Language packs will be automatically updated by WordPress.