Skip to content

Commit

Permalink
Prepare release and changelog for 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 8, 2021
1 parent 648d21c commit 4797089
Show file tree
Hide file tree
Showing 13 changed files with 66 additions and 29 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,21 @@
All notable changes to this project will be documented in this file.

## Unreleased
*

## [2.8.0 - 2020-01-21](https://github.com/CMB2/CMB2/releases/tag/v2.7.0)

### Enhancements
* Added [CODE_OF_CONDUCT.md](https://github.com/CMB2/CMB2/blob/develop/CODE_OF_CONDUCT.md) file to meet GitHub Community standards. Props [@RubenMartins](https://github.com/RubenMartins) ([#1331](https://github.com/CMB2/CMB2/pull/1331)).
* Add ability to define the page-registration admin menu hook priority for options pages. Fixes [#1380](https://github.com/CMB2/CMB2/issues/1380).

### Bug Fixes
* Ensure `enqueue wp-color-picker` is enqueued for color fields. Props [@rubengc](https://github.com/rubengc) ([#1339](https://github.com/CMB2/CMB2/pull/1339)).
* Fix empty name/id attributes on `'file_list'` buttons. Props [@pgroot91](https://github.com/pgroot91) ([#1347](https://github.com/CMB2/CMB2/pull/1347)).
* Fix `wysiwyg` field type not working in a group, by ensuring scripts properly enqueued. Props [@yoren](https://github.com/yoren) ([#1361](https://github.com/CMB2/CMB2/pull/1361)).
* Fix `$object_id` doc block types in helper-functions.php. Fixes [#1365](https://github.com/CMB2/CMB2/issues/1365).
* Fix Metabox toggles visually broken with WP 5.5.x. Fixes [#1382](https://github.com/CMB2/CMB2/issues/1382).
* Fix `PHP Deprecated: Required parameter $field_id follows optional parameter $type`, due to changes in PHP 8.0. Fixes [#1396](https://github.com/CMB2/CMB2/issues/1396).

## [2.7.0 - 2020-01-21](https://github.com/CMB2/CMB2/releases/tag/v2.7.0)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
**Homepage:** [https://cmb2.io](https://cmb2.io)
**Tags:** metaboxes, forms, fields, options, settings
**Requires at least:** 3.8.0
**Tested up to:** 5.3.2
**Stable tag:** 2.7.0
**Tested up to:** 5.6.1
**Stable tag:** 2.8.0
**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
4 changes: 2 additions & 2 deletions css/cmb2-display-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/cmb2-display.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/cmb2-front-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/cmb2-front.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/cmb2-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/cmb2.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

if ( ! class_exists( 'CMB2_Bootstrap_270_Develop', false ) ) {
if ( ! class_exists( 'CMB2_Bootstrap_280', false ) ) {

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

/**
* Current version number
*
* @var string
* @since 1.0.0
*/
const VERSION = '2.7.0';
const VERSION = '2.8.0';

/**
* Current version hook priority.
Expand All @@ -83,20 +83,20 @@ class CMB2_Bootstrap_270_Develop {
* @var int
* @since 2.0.0
*/
const PRIORITY = 9962;
const PRIORITY = 9961;

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

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

// Make it so...
CMB2_Bootstrap_270_Develop::initiate();
CMB2_Bootstrap_280::initiate();

}// End if().
2 changes: 1 addition & 1 deletion 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.7.0\n"
"Project-Id-Version: CMB2 2.8.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/cmb2\n"
"POT-Creation-Date: 2020-10-28 12:59:11+00:00\n"
"MIME-Version: 1.0\n"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cmb2",
"title": "CMB2",
"version": "2.7.0",
"version": "2.8.0",
"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
32 changes: 30 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Donate link: https://cmb2.io
Tags: metaboxes, forms, fields, options, settings
Requires at least: 3.8.0
Requires PHP: 5.2
Tested up to: 5.3.2
Stable tag: 2.7.0
Tested up to: 5.6.1
Stable tag: 2.8.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

### 2.8.0

#### Enhancements
* Added [CODE_OF_CONDUCT.md](https://github.com/CMB2/CMB2/blob/develop/CODE_OF_CONDUCT.md) file to meet GitHub Community standards. Props [@RubenMartins](https://github.com/RubenMartins) ([#1331](https://github.com/CMB2/CMB2/pull/1331)).
* Add ability to define the page-registration admin menu hook priority for options pages. Fixes [#1380](https://github.com/CMB2/CMB2/issues/1380).

#### Bug Fixes
* Ensure `enqueue wp-color-picker` is enqueued for color fields. Props [@rubengc](https://github.com/rubengc) ([#1339](https://github.com/CMB2/CMB2/pull/1339)).
* Fix empty name/id attributes on `'file_list'` buttons. Props [@pgroot91](https://github.com/pgroot91) ([#1347](https://github.com/CMB2/CMB2/pull/1347)).
* Fix `wysiwyg` field type not working in a group, by ensuring scripts properly enqueued. Props [@yoren](https://github.com/yoren) ([#1361](https://github.com/CMB2/CMB2/pull/1361)).
* Fix `$object_id` doc block types in helper-functions.php. Fixes [#1365](https://github.com/CMB2/CMB2/issues/1365).
* Fix Metabox toggles visually broken with WP 5.5.x. Fixes [#1382](https://github.com/CMB2/CMB2/issues/1382).
* Fix `PHP Deprecated: Required parameter $field_id follows optional parameter $type`, due to changes in PHP 8.0. Fixes [#1396](https://github.com/CMB2/CMB2/issues/1396).

### 2.7.0

#### Enhancements
Expand Down Expand Up @@ -963,6 +977,20 @@ It is now passed a null value vs saved value. If null is returned, default sanit

== Upgrade Notice ==

### 2.8.0

#### Enhancements
* Added [CODE_OF_CONDUCT.md](https://github.com/CMB2/CMB2/blob/develop/CODE_OF_CONDUCT.md) file to meet GitHub Community standards. Props [@RubenMartins](https://github.com/RubenMartins) ([#1331](https://github.com/CMB2/CMB2/pull/1331)).
* Add ability to define the page-registration admin menu hook priority for options pages. Fixes [#1380](https://github.com/CMB2/CMB2/issues/1380).

#### Bug Fixes
* Ensure `enqueue wp-color-picker` is enqueued for color fields. Props [@rubengc](https://github.com/rubengc) ([#1339](https://github.com/CMB2/CMB2/pull/1339)).
* Fix empty name/id attributes on `'file_list'` buttons. Props [@pgroot91](https://github.com/pgroot91) ([#1347](https://github.com/CMB2/CMB2/pull/1347)).
* Fix `wysiwyg` field type not working in a group, by ensuring scripts properly enqueued. Props [@yoren](https://github.com/yoren) ([#1361](https://github.com/CMB2/CMB2/pull/1361)).
* Fix `$object_id` doc block types in helper-functions.php. Fixes [#1365](https://github.com/CMB2/CMB2/issues/1365).
* Fix Metabox toggles visually broken with WP 5.5.x. Fixes [#1382](https://github.com/CMB2/CMB2/issues/1382).
* Fix `PHP Deprecated: Required parameter $field_id follows optional parameter $type`, due to changes in PHP 8.0. Fixes [#1396](https://github.com/CMB2/CMB2/issues/1396).

### 2.7.0

#### Enhancements
Expand Down

0 comments on commit 4797089

Please sign in to comment.