Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
### Bug Fixes
Browse files Browse the repository at this point in the history
* Fix color-picker field not enqueueing the colorpicker script. ([#333](CMB2/CMB2#333))

git-svn-id: https://plugins.svn.wordpress.org/cmb2/trunk@1171878 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information
jtsternberg committed Jun 1, 2015
1 parent f01326a commit 7076cd6
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.

*

## 2.0.8 - 2015-06-01

### Bug Fixes

* Fix color-picker field not enqueueing the colorpicker script. ([#333](https://github.com/WebDevStudios/CMB2/issues/333))

## 2.0.7 - 2015-05-28

### Enhancements
Expand Down
1 change: 1 addition & 0 deletions includes/CMB2_Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ public function colorpicker() {
}

wp_enqueue_style( 'wp-color-picker' );
CMB2_JS::add_dependencies( array( 'wp-color-picker' ) );

return $this->input( array( 'class' => 'cmb2-colorpicker cmb2-text-small', 'value' => $meta_value ) );
}
Expand Down
20 changes: 10 additions & 10 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* Bill Erickson (@billerickson / billerickson.net)
* Andrew Norcross (@norcross / andrewnorcross.com)
*
* Version: 2.0.7
* Version: 2.0.8
*
* Text Domain: cmb2
* Domain Path: languages
Expand Down Expand Up @@ -48,7 +48,7 @@
or things might explode!
*************************************************************************/

if ( ! class_exists( 'CMB2_Bootstrap_207', false ) ) {
if ( ! class_exists( 'CMB2_Bootstrap_208', false ) ) {

/**
* Handles checking for and loading the newest version of CMB2
Expand All @@ -61,14 +61,14 @@
* @license GPL-2.0+
* @link http://webdevstudios.com
*/
class CMB2_Bootstrap_207 {
class CMB2_Bootstrap_208 {

/**
* Current version number
* @var string
* @since 1.0.0
*/
const VERSION = '2.0.7';
const VERSION = '2.0.8';

/**
* Current version hook priority.
Expand All @@ -77,20 +77,20 @@ class CMB2_Bootstrap_207 {
* @var int
* @since 2.0.0
*/
const PRIORITY = 9992;
const PRIORITY = 9991;

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

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

// Make it so...
CMB2_Bootstrap_207::initiate();
CMB2_Bootstrap_208::initiate();

}
30 changes: 25 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://webdevstudios.com
Tags: metaboxes, forms, fields, options, settings
Requires at least: 3.8.0
Tested up to: 4.2.2
Stable tag: 2.0.7
Stable tag: 2.0.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -67,9 +67,17 @@ A complete list of all our awesome contributors found here: [github.com/WebDevSt
* [Github project page](https://github.com/webdevstudios/CMB2)
* [Documentation (GitHub wiki)](https://github.com/webdevstudios/CMB2/wiki)

### Most Recent Changes - 2.0.7
### Most Recent Changes

#### Enhancements
#### 2.0.8

##### Bug Fixes

* Fix color-picker field not enqueueing the colorpicker script. ([#333](https://github.com/WebDevStudios/CMB2/issues/333))

#### 2.0.7

##### Enhancements

* Ability to use non-repeatable group fields by setting the `'repeatable'` field param to `false` when registering a group field type. Props [marcusbattle](https://github.com/marcusbattle), ([#159](https://github.com/WebDevStudios/CMB2/pull/159)).
* Add and enqeueue a front-end specific CSS file which adds additional styles which are typically covered by wp-admin css. ([#311](https://github.com/WebDevStudios/CMB2/issues/311))
Expand All @@ -78,13 +86,13 @@ A complete list of all our awesome contributors found here: [github.com/WebDevSt
* New dynamic hook, `"cmb2_save_{$object_type}_fields_{$this->cmb_id}"`, to complement the existing `"cmb2_save_{$object_type}_fields"` hook.
* German translation provided by Friedhelm Jost.

#### Bug Fixes
##### Bug Fixes

* Fix incorrect repeatable group title number. ([#310](https://github.com/WebDevStudios/CMB2/pull/310))
* Fix obscure bug which prevented group field arguments from being passed to the sub-fields (like `show_names` and `context`).
* Fixed occasional issue when adding a group row, the previous row's content would be cloned. ([#257](https://github.com/WebDevStudios/CMB2/pull/257))

**[View complete changelog](https://github.com/WebDevStudios/CMB2/blob/master/CONTRIBUTING.md)**
**[View complete changelog](https://github.com/WebDevStudios/CMB2/blob/master/CHANGELOG.md)**

### Known Issues

Expand Down Expand Up @@ -115,6 +123,12 @@ FAQ's usually end up in the [github wiki](https://github.com/WebDevStudios/CMB2/

== Changelog ==

### 2.0.8 - 2015-06-01

#### Bug Fixes

* Fix color-picker field not enqueueing the colorpicker script. ([#333](https://github.com/WebDevStudios/CMB2/issues/333))

### 2.0.7 - 2015-05-28

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

== Upgrade Notice ==

### 2.0.8 - 2015-06-01

#### Bug Fixes

* Fix color-picker field not enqueueing the colorpicker script. ([#333](https://github.com/WebDevStudios/CMB2/issues/333))

### 2.0.7 - 2015-05-28

#### Enhancements
Expand Down

0 comments on commit 7076cd6

Please sign in to comment.