Skip to content

Commit

Permalink
Bump version to 2.2.5.3 for hotfix. Re: CMB2#1014
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Aug 22, 2017
1 parent 564cc10 commit 5c9bdb6
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
**Tags:** metaboxes, forms, fields, options, settings
**Requires at least:** 3.8.0
**Tested up to:** 4.8.1
**Stable tag:** 2.2.5.2
**Stable tag:** 2.2.5.3
**License:** GPLv2 or later
**License URI:** [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)

Expand Down
20 changes: 10 additions & 10 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Bill Erickson (@billerickson / billerickson.net)
* Andrew Norcross (@norcross / andrewnorcross.com)
*
* Version: 2.2.5.2
* Version: 2.2.5.3
*
* Text Domain: cmb2
* Domain Path: languages
Expand Down Expand Up @@ -54,7 +54,7 @@
* ***********************************************************************
*/

if ( ! class_exists( 'CMB2_Bootstrap_226_Trunk', false ) ) {
if ( ! class_exists( 'CMB2_Bootstrap_2253', false ) ) {

/**
* Handles checking for and loading the newest version of CMB2
Expand All @@ -67,15 +67,15 @@
* @license GPL-2.0+
* @link https://cmb2.io
*/
class CMB2_Bootstrap_226_Trunk {
class CMB2_Bootstrap_2253 {

/**
* Current version number
*
* @var string
* @since 1.0.0
*/
const VERSION = '2.2.5.2';
const VERSION = '2.2.5.3';

/**
* Current version hook priority.
Expand All @@ -84,20 +84,20 @@ class CMB2_Bootstrap_226_Trunk {
* @var int
* @since 2.0.0
*/
const PRIORITY = 9974;
const PRIORITY = 9973;

/**
* Single instance of the CMB2_Bootstrap_226_Trunk object
* Single instance of the CMB2_Bootstrap_2253 object
*
* @var CMB2_Bootstrap_226_Trunk
* @var CMB2_Bootstrap_2253
*/
public static $single_instance = null;

/**
* Creates/returns the single instance CMB2_Bootstrap_226_Trunk object
* Creates/returns the single instance CMB2_Bootstrap_2253 object
*
* @since 2.0.0
* @return CMB2_Bootstrap_226_Trunk Single instance object
* @return CMB2_Bootstrap_2253 Single instance object
*/
public static function initiate() {
if ( null === self::$single_instance ) {
Expand Down Expand Up @@ -189,6 +189,6 @@ public function l10ni18n() {
}

// Make it so...
CMB2_Bootstrap_226_Trunk::initiate();
CMB2_Bootstrap_2253::initiate();

}// End if().
4 changes: 2 additions & 2 deletions languages/cmb2.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the CMB2 package.
msgid ""
msgstr ""
"Project-Id-Version: CMB2 2.2.5.2\n"
"Project-Id-Version: CMB2 2.2.5.3\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/cmb2\n"
"POT-Creation-Date: 2017-08-08 14:41:40+00:00\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -721,4 +721,4 @@ msgctxt ""
"Valid formatting string, as per "
"http://trentrichardson.com/examples/timepicker/"
msgid "hh:mm TT"
msgstr ""
msgstr ""
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cmb2",
"version": "2.2.5.2",
"version": "2.2.5.3",
"description": "CMB2 is a developer's toolkit for building metaboxes, custom fields, and forms for WordPress that will blow your mind.",
"main": "Gruntfile.js",
"directories": {
Expand Down
34 changes: 33 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://cmb2.io
Tags: metaboxes, forms, fields, options, settings
Requires at least: 3.8.0
Tested up to: 4.8.1
Stable tag: 2.2.5.2
Stable tag: 2.2.5.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -121,6 +121,22 @@ FAQ's usually end up in the [github wiki](https://github.com/CMB2/CMB2/wiki).

== Changelog ==

### 2.2.5.3

#### Enhancements

* Update to instead initate CMB2 hookup via "cmb2_init_hookup_{$cmb_id}" hook. Allows plugins to unhook/rehook/etc.

#### Bug Fixes

* Spelling/Grammar fixes. Props [@garrett-eclipse](https://github.com/garrett-eclipse) ([#1012](https://github.com/CMB2/CMB2/pull/1012)).
* Fix "PHP Strict Standards: Static function should not be abstract" notice.
* Add `CMB2_Utils::normalize_if_numeric()` to address problems when using floats as select/radio values. Fixes [#869](https://github.com/CMB2/CMB2/issues/869). See [#1013](https://github.com/CMB2/CMB2/pull/1013).
* Fix issues with apostrophes in money values. (e.g. in Swiss German the thousand separator is an apostrophe). Props [@ocean90](https://github.com/ocean90) ([#1014](https://github.com/CMB2/CMB2/issues/1014), [#1015](https://github.com/CMB2/CMB2/pull/1015)).
* Provide public access to the `CMB2_Options_Hookup::$option_key` property.
* Change the updated-settings notice query variable so that WordPress does not auto-add settings notices on top of ours.
* For settings pages, only output settings errors if WordPress does not do it by default (for sub-pages of `options-general.php`), and if the errors are not disabled via the `'disable_settings_errors'` box property.

### 2.2.5.2

#### Bug Fixes
Expand Down Expand Up @@ -740,6 +756,22 @@ It is now passed a null value vs saved value. If null is returned, default sanit

== Upgrade Notice ==

### 2.2.5.3

#### Enhancements

* Update to instead initate CMB2 hookup via "cmb2_init_hookup_{$cmb_id}" hook. Allows plugins to unhook/rehook/etc.

#### Bug Fixes

* Spelling/Grammar fixes. Props [@garrett-eclipse](https://github.com/garrett-eclipse) ([#1012](https://github.com/CMB2/CMB2/pull/1012)).
* Fix "PHP Strict Standards: Static function should not be abstract" notice.
* Add `CMB2_Utils::normalize_if_numeric()` to address problems when using floats as select/radio values. Fixes [#869](https://github.com/CMB2/CMB2/issues/869). See [#1013](https://github.com/CMB2/CMB2/pull/1013).
* Fix issues with apostrophes in money values. (e.g. in Swiss German the thousand separator is an apostrophe). Props [@ocean90](https://github.com/ocean90) ([#1014](https://github.com/CMB2/CMB2/issues/1014), [#1015](https://github.com/CMB2/CMB2/pull/1015)).
* Provide public access to the `CMB2_Options_Hookup::$option_key` property.
* Change the updated-settings notice query variable so that WordPress does not auto-add settings notices on top of ours.
* For settings pages, only output settings errors if WordPress does not do it by default (for sub-pages of `options-general.php`), and if the errors are not disabled via the `'disable_settings_errors'` box property.

### 2.2.5.2

#### Bug Fixes
Expand Down

0 comments on commit 5c9bdb6

Please sign in to comment.