Skip to content

Commit

Permalink
Version 4.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed Jul 12, 2017
1 parent 20b37be commit 459bfb7
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ php:
- 5.5
- 5.4
- 5.3
- 5.2

matrix:
fast_finish: true
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

## [Unreleased]

## [4.12.2] - 2017-07-12
### Added
- Added new `media:reset` event for media fields to clear the selection.
### Changed
- Improve meta box registry that can handle various types of meta boxes. Used for term meta, user meta, settings pages.
- Improve the way set current object id for meta box and add fields to the registry.

## [4.12.1] - 2017-07-05
### Fixed
- Helper function doesn't work. #1144.
Expand Down Expand Up @@ -684,7 +691,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
## 1.0
- procedural code

[Unreleased]: https://github.com/rilwis/meta-box/compare/4.12.1...HEAD
[Unreleased]: https://github.com/rilwis/meta-box/compare/4.12.2...HEAD
[4.12.2]: https://github.com/rilwis/meta-box/compare/4.12.1...4.12.2
[4.12.1]: https://github.com/rilwis/meta-box/compare/4.12...4.12.1
[4.12]: https://github.com/rilwis/meta-box/compare/4.11.3...4.12
[4.11.3]: https://github.com/rilwis/meta-box/compare/4.11.2...4.11.3
Expand Down
2 changes: 1 addition & 1 deletion inc/loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RWMB_Loader {
*/
protected function constants() {
// Script version, used to add version for scripts and styles.
define( 'RWMB_VER', '4.12.1' );
define( 'RWMB_VER', '4.12.2' );

list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );

Expand Down
2 changes: 1 addition & 1 deletion meta-box.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Meta Box
* Plugin URI: https://metabox.io
* Description: Create custom meta boxes and custom fields in WordPress.
* Version: 4.12.1
* Version: 4.12.2
* Author: MetaBox.io
* Author URI: https://metabox.io
* License: GPL2+
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meta-box",
"version": "4.12.1",
"version": "4.12.2",
"description": "A powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress websites.",
"keywords": [
"meta box",
Expand Down
14 changes: 5 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://paypal.me/anhtnt
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: 4.1
Tested up to: 4.8
Stable tag: 4.12.1
Stable tag: 4.12.2
License: GPLv2 or later

Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
Expand Down Expand Up @@ -132,16 +132,12 @@ To getting started with the plugin, please read [this tutorial](https://metabox.
#### Fixed
- Helper function doesn't work. #1144.

= 4.12 - 2017-07-04 =
= 4.12.2 - 2017-07-12 =
#### Added
- Completed the storage abstraction. All the actions add/get/update/delete post meta now use the storage methods. Make it easy to extend for other extensions for term/user meta and settings pages.
- Added `autofocus`, `autocomplete` HTML5 attribute to inputs.
- Added `alpha_channel` to `color` field. Set it to `true` to allow picking colors with opacity.
- Click on the image will open a popup for re-select image. Works for `image_advanced` and `image_upload` (`plupload_image`) fields.

- Added new `media:reset` event for media fields to clear the selection.
#### Changed
- Auto display oembed media when pasting the URL, without click "Preview" button (and it's removed).
- Better styles for media fields. Use the loading icon from WordPress.
- Improve meta box registry that can handle various types of meta boxes. Used for term meta, user meta, settings pages.
- Improve the way set current object id for meta box and add fields to the registry.

#### Fixed
- Fix cloning an editor inside a group in WordPress 4.8. Caused by updated version of TinyMCE using Promise.
Expand Down

0 comments on commit 459bfb7

Please sign in to comment.