Skip to content

Commit

Permalink
bump version to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Jun 9, 2016
1 parent 1ef1699 commit 543c677
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WordPress Shortcode Button (1.0.2)
WordPress Shortcode Button (1.0.3)
================

Tinymce and Quicktag buttons (and modals) for outputting shortcodes. Built to work with [CMB2](https://github.com/WebDevStudios/CMB2).
Expand Down Expand Up @@ -129,6 +129,9 @@ function shortcode_button_only_pages() {

#### Changelog

* 1.0.3
* Hide modal manually to ensure it is hidden before CSS loads. Prevents flash of content.

* 1.0.2
* Fix broken loader. Needs to hook into a WordPress hook, and uses first available (`'muplugins_loaded'`, `'plugins_loaded'`, `'after_setup_theme'`) to fire the include action.

Expand Down
4 changes: 2 additions & 2 deletions lib/class-shortcode-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @todo Fix generic ids possibly conflicting (maybe add a prefix to all fields)
*
* @version 1.0.0
* @version 1.0.3
*/
class Shortcode_Button {

Expand All @@ -14,7 +14,7 @@ class Shortcode_Button {
* @var string
* @since 0.1.2
*/
const VERSION = '1.0.0';
const VERSION = SHORTCODE_BUTTONS_VERSION;

protected $button_data = array();
protected $args = array();
Expand Down
14 changes: 7 additions & 7 deletions shortcode-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @author Justin Sternberg <justin@dsgnwrks.pro>
* @copyright 2015-2016 Justin Sternberg <justin@dsgnwrks.pro>
* @license GPL-2.0+
* @version 1.0.2
* @version 1.0.3
* @link https://github.com/jtsternberg/Shortcode_Button
* @since 1.0.0
*/
Expand All @@ -37,7 +37,7 @@
* Loader versioning: http://jtsternberg.github.io/wp-lib-loader/
*/

if ( ! class_exists( 'Shortcode_Button_102', false ) ) {
if ( ! class_exists( 'Shortcode_Button_103', false ) ) {

/**
* Versioned loader class-name
Expand All @@ -48,18 +48,18 @@
* @package Shortcode_Button
* @author Justin Sternberg <justin@dsgnwrks.pro>
* @license GPL-2.0+
* @version 1.0.2
* @version 1.0.3
* @link https://github.com/jtsternberg/Shortcode_Button
* @since 1.0.0
*/
class Shortcode_Button_102 {
class Shortcode_Button_103 {

/**
* Shortcode_Button version number
* @var string
* @since 1.0.0
*/
const VERSION = '1.0.2';
const VERSION = '1.0.3';

/**
* Current version hook priority.
Expand All @@ -68,7 +68,7 @@ class Shortcode_Button_102 {
* @var int
* @since 1.0.0
*/
const PRIORITY = 9997;
const PRIORITY = 9996;

/**
* Starts the version checking process.
Expand Down Expand Up @@ -152,5 +152,5 @@ public function include_lib() {
}

// Kick it off.
new Shortcode_Button_102;
new Shortcode_Button_103;
}

0 comments on commit 543c677

Please sign in to comment.