Skip to content

Commit

Permalink
Release 2.2.5.2 hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Aug 8, 2017
1 parent e31406d commit ca7d173
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 23 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@ All notable changes to this project will be documented in this file.

## Unreleased

## [2.2.5.2 - 2017-08-08][https://github.com/CMB2/CMB2/releases/tag/v2.2.5.2]

### Bug Fixes

* Fix issue in 2.2.5 with non-sortable repeatable groups not having new groups values be emptied on creation/clone. [Support thread](https://wordpress.org/support/topic/the-default-parameter-dont-work-in-group-fields/page/2/)

## [2.2.5.1 - 2017-08-07][https://github.com/CMB2/CMB2/releases/tag/v2.2.5.1]

### Bug Fixes

* Fix issue in 2.2.5 which caused empty repeatable groups having the buttons set to have a disabled "Remove Group" button.
* Fix issue in 2.2.5 which caused empty repeatable groups having the buttons set to have a disabled "Remove Group" button. [Support thread](https://wordpress.org/support/topic/the-default-parameter-dont-work-in-group-fields/)

## [2.2.5 - 2017-08-07][https://github.com/CMB2/CMB2/releases/tag/v2.2.5]

Expand Down
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.1
**Stable tag:** 2.2.5.2
**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.1
* Version: 2.2.5.2
*
* Text Domain: cmb2
* Domain Path: languages
Expand Down Expand Up @@ -54,7 +54,7 @@
* ***********************************************************************
*/

if ( ! class_exists( 'CMB2_Bootstrap_2251', false ) ) {
if ( ! class_exists( 'CMB2_Bootstrap_2252', 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_2251 {
class CMB2_Bootstrap_2252 {

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

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

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

/**
* Creates/returns the single instance CMB2_Bootstrap_2251 object
* Creates/returns the single instance CMB2_Bootstrap_2252 object
*
* @since 2.0.0
* @return CMB2_Bootstrap_2251 Single instance object
* @return CMB2_Bootstrap_2252 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_2251::initiate();
CMB2_Bootstrap_2252::initiate();

}// End if().
8 changes: 4 additions & 4 deletions languages/cmb2.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# This file is distributed under the same license as the CMB2 package.
msgid ""
msgstr ""
"Project-Id-Version: CMB2 2.2.5.1\n"
"Project-Id-Version: CMB2 2.2.5.2\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/cmb2\n"
"POT-Creation-Date: 2017-08-07 18:11:42+00:00\n"
"POT-Creation-Date: 2017-08-08 14:20:08+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-8-7 18:11+240\n"
"PO-Revision-Date: 2017-8-8 14:20+240\n"
"Last-Translator: CMB2 Team [email protected]\n"
"Language-Team: CMB2 Team [email protected]\n"
"X-Generator: grunt-wp-i18n 0.4.9\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.1",
"version": "2.2.5.2",
"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
24 changes: 18 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,21 @@ FAQ's usually end up in the [github wiki](https://github.com/CMB2/CMB2/wiki).

== Changelog ==

### 2.2.5.2

#### Bug Fixes

* Fix issue in 2.2.5 with non-sortable repeatable groups not having new groups values be emptied on creation/clone.

### 2.2.5.1

### Bug Fixes
#### Bug Fixes

* Fix issue in 2.2.5 which caused empty repeatable groups having the buttons set to have a disabled "Remove Group" button.

### 2.2.5 - 2017-08-07

### Enhancements
#### Enhancements

* Options pages are now first-class CMB2 citizens, and registering a box to show on an options page will automatically register the menu page and output the form on the page. [See example](https://github.com/CMB2/CMB2/blob/v2.2.5/example-functions.php#L640-L683). (The [snippets](https://github.com/CMB2/CMB2-Snippet-Library/tree/master/options-and-settings-pages) in the snippet library will be updated to reflect this change)
* Improved Options Page styling. Props [@anhskohbo](https://github.com/anhskohbo) ([#1006](https://github.com/CMB2/CMB2/pull/1006)).
Expand Down Expand Up @@ -160,7 +166,7 @@ FAQ's usually end up in the [github wiki](https://github.com/CMB2/CMB2/wiki).
* `CMB2::after_save()`
* `CMB2::add_fields()`

### Bug Fixes
#### Bug Fixes

* Update for `file`/`file_list` fields to properly show a preview for SVG images. Fixes [#874](https://github.com/CMB2/CMB2/pull/874).
* Fix and standardize inconsistent button classes. Update all buttons to use the `.button-secondary` class instead of the `.button` class. This alleviates some front-end issues for themes which target the `.button` class. _This is a backwards-compatibility break._ If your theme or plugin targets the `.button` class within CMB2, you will need to update to use `.button-secondary`.
Expand Down Expand Up @@ -733,15 +739,21 @@ It is now passed a null value vs saved value. If null is returned, default sanit

== Upgrade Notice ==

### 2.2.5.2

#### Bug Fixes

* Fix issue in 2.2.5 with non-sortable repeatable groups not having new groups values be emptied on creation/clone.

### 2.2.5.1

### Bug Fixes
#### Bug Fixes

* Fix issue in 2.2.5 which caused empty repeatable groups having the buttons set to have a disabled "Remove Group" button.

### 2.2.5 - 2017-08-07

### Enhancements
#### Enhancements

* Options pages are now first-class CMB2 citizens, and registering a box to show on an options page will automatically register the menu page and output the form on the page. [See example](https://github.com/CMB2/CMB2/blob/v2.2.5/example-functions.php#L640-L683). (The [snippets](https://github.com/CMB2/CMB2-Snippet-Library/tree/master/options-and-settings-pages) in the snippet library will be updated to reflect this change)
* Improved Options Page styling. Props [@anhskohbo](https://github.com/anhskohbo) ([#1006](https://github.com/CMB2/CMB2/pull/1006)).
Expand Down Expand Up @@ -772,7 +784,7 @@ It is now passed a null value vs saved value. If null is returned, default sanit
* `CMB2::after_save()`
* `CMB2::add_fields()`

### Bug Fixes
#### Bug Fixes

* Update for `file`/`file_list` fields to properly show a preview for SVG images. Fixes [#874](https://github.com/CMB2/CMB2/pull/874).
* Fix and standardize inconsistent button classes. Update all buttons to use the `.button-secondary` class instead of the `.button` class. This alleviates some front-end issues for themes which target the `.button` class. _This is a backwards-compatibility break._ If your theme or plugin targets the `.button` class within CMB2, you will need to update to use `.button-secondary`.
Expand Down

0 comments on commit ca7d173

Please sign in to comment.