From b2534728b34016afdb0085d35e69cddc2f5b0032 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Mon, 2 Nov 2015 12:17:45 -0800 Subject: [PATCH 1/6] Update readme with what's changed in v0.6.0 --- README.md | 15 +++++++++++++-- readme.txt | 15 +++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb8f38ff..06c97d9c 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,22 @@ We've removed the compatibility shim for the magical `content` attribute. If you ## Changelog ## ### 0.6.0 (???) ### -* Core integration: Fully support PHP 5.2. +* Supports an optional `encode=true` argument for attributes, to allow limited HTML support. Attributes need to be run through `shortcode_atts()` in order to be properly decoded. * Defines a `SHORTCODE_UI_DOING_PREVIEW` constant when rendering a shortcode preview, which enables callbacks to serve a different representation of the shortcode in TinyMCE. +* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Cleaned up icon vertical alignment in the Insert Post Element UI. +* Added CSS utility classes to all field HTML. For instance, the attachment field is now wrapped with `shortcode-ui-field-attachment`. +* Added filters to modify shortcode UI arguments on registration. +* Cleaned up the example plugin, so it's a much more useful developer reference. +* Uses core's JavaScript regex for parsing shortcodes, instead of maintaining separate regex. +* Permits HTML in field labels and descriptions. * Added Danish translation. * Added Italian translation. -* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Added Germain translation. +* Core integration: Fully supports PHP 5.2. +* Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. +* Bug fix: Display the description on the post select field. +* Bug fix: Attribute field change event binds to `input` event rather than `keyup`. ### 0.5.0 (August 26, 2015) ### * Attachment field: Made it easier to change the attachment by clicking on the thumbnail; added attachment metadata in the field view. diff --git a/readme.txt b/readme.txt index 037aef4b..dac4a1f7 100644 --- a/readme.txt +++ b/readme.txt @@ -52,11 +52,22 @@ We've removed the compatibility shim for the magical `content` attribute. If you == Changelog == = 0.6.0 (???) = -* Core integration: Fully support PHP 5.2. +* Supports an optional `encode=true` argument for attributes, to allow limited HTML support. Attributes need to be run through `shortcode_atts()` in order to be properly decoded. * Defines a `SHORTCODE_UI_DOING_PREVIEW` constant when rendering a shortcode preview, which enables callbacks to serve a different representation of the shortcode in TinyMCE. +* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Cleaned up icon vertical alignment in the Insert Post Element UI. +* Added CSS utility classes to all field HTML. For instance, the attachment field is now wrapped with `shortcode-ui-field-attachment`. +* Added filters to modify shortcode UI arguments on registration. +* Cleaned up the example plugin, so it's a much more useful developer reference. +* Uses core's JavaScript regex for parsing shortcodes, instead of maintaining separate regex. +* Permits HTML in field labels and descriptions. * Added Danish translation. * Added Italian translation. -* When an attachment is already selected for a shortcode attribute, opening media library will include it selected. +* Added Germain translation. +* Core integration: Fully supports PHP 5.2. +* Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. +* Bug fix: Display the description on the post select field. +* Bug fix: Attribute field change event binds to `input` event rather than `keyup`. = 0.5.0 (August 26, 2015) = * Attachment field: Made it easier to change the attachment by clicking on the thumbnail; added attachment metadata in the field view. From 198f7b614287a770a52c7c714c5b7cbd4223c63d Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Mon, 2 Nov 2015 12:20:01 -0800 Subject: [PATCH 2/6] Fix typo --- README.md | 2 +- readme.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 06c97d9c..7a0661a5 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you * Permits HTML in field labels and descriptions. * Added Danish translation. * Added Italian translation. -* Added Germain translation. +* Added German translation. * Core integration: Fully supports PHP 5.2. * Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. * Bug fix: Display the description on the post select field. diff --git a/readme.txt b/readme.txt index dac4a1f7..c26ad02b 100644 --- a/readme.txt +++ b/readme.txt @@ -63,7 +63,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you * Permits HTML in field labels and descriptions. * Added Danish translation. * Added Italian translation. -* Added Germain translation. +* Added German translation. * Core integration: Fully supports PHP 5.2. * Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. * Bug fix: Display the description on the post select field. From c44a09edb5258fafc3a414abe06b91837bbb97d5 Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Mon, 2 Nov 2015 12:32:34 -0800 Subject: [PATCH 3/6] Update tested up to --- README.md | 2 +- readme.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a0661a5..b7687d42 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver **Tags:** shortcodes **Requires at least:** 4.1 -**Tested up to:** 4.3 +**Tested up to:** 4.4 **Stable tag:** 0.5.0 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html diff --git a/readme.txt b/readme.txt index c26ad02b..0720238f 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver Tags: shortcodes Requires at least: 4.1 -Tested up to: 4.3 +Tested up to: 4.4 Stable tag: 0.5.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html From fb7fe858e80ccccae11d85fb1d0390c5ec96d08f Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Mon, 2 Nov 2015 12:46:56 -0800 Subject: [PATCH 4/6] Update contributor list and release date --- README.md | 4 ++-- readme.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b7687d42..36cdd368 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Shortcake (Shortcode UI) # -**Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver +**Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov **Tags:** shortcodes **Requires at least:** 4.1 **Tested up to:** 4.4 @@ -59,7 +59,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you ## Changelog ## -### 0.6.0 (???) ### +### 0.6.0 (November 2, 2015) ### * Supports an optional `encode=true` argument for attributes, to allow limited HTML support. Attributes need to be run through `shortcode_atts()` in order to be properly decoded. * Defines a `SHORTCODE_UI_DOING_PREVIEW` constant when rendering a shortcode preview, which enables callbacks to serve a different representation of the shortcode in TinyMCE. * When an attachment is already selected for a shortcode attribute, opening media library will include it selected. diff --git a/readme.txt b/readme.txt index 0720238f..bbc05577 100644 --- a/readme.txt +++ b/readme.txt @@ -1,5 +1,5 @@ === Shortcake (Shortcode UI) === -Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver +Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov Tags: shortcodes Requires at least: 4.1 Tested up to: 4.4 @@ -51,7 +51,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you == Changelog == -= 0.6.0 (???) = += 0.6.0 (November 2, 2015) = * Supports an optional `encode=true` argument for attributes, to allow limited HTML support. Attributes need to be run through `shortcode_atts()` in order to be properly decoded. * Defines a `SHORTCODE_UI_DOING_PREVIEW` constant when rendering a shortcode preview, which enables callbacks to serve a different representation of the shortcode in TinyMCE. * When an attachment is already selected for a shortcode attribute, opening media library will include it selected. From a1863d678ab4a64dec4a8487644709dffd9da54a Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Mon, 2 Nov 2015 12:50:10 -0800 Subject: [PATCH 5/6] Link to the release notes --- README.md | 1 + readme.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 36cdd368..bce76af2 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you * Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. * Bug fix: Display the description on the post select field. * Bug fix: Attribute field change event binds to `input` event rather than `keyup`. +* [Full release notes](http://fusion.net/story/225765/introducing-shortcake-v0-6-0-cream/) ### 0.5.0 (August 26, 2015) ### * Attachment field: Made it easier to change the attachment by clicking on the thumbnail; added attachment metadata in the field view. diff --git a/readme.txt b/readme.txt index bbc05577..31fda8b6 100644 --- a/readme.txt +++ b/readme.txt @@ -68,6 +68,7 @@ We've removed the compatibility shim for the magical `content` attribute. If you * Bug fix: Persists shortcode attributes and inner content when there isn't UI registered for them. Previously, they would be discarded. * Bug fix: Display the description on the post select field. * Bug fix: Attribute field change event binds to `input` event rather than `keyup`. +* [Full release notes](http://fusion.net/story/225765/introducing-shortcake-v0-6-0-cream/) = 0.5.0 (August 26, 2015) = * Attachment field: Made it easier to change the attachment by clicking on the thumbnail; added attachment metadata in the field view. From 17a7e316bbfd1a127f4f1d052b661faba96eed2c Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Mon, 2 Nov 2015 12:53:48 -0800 Subject: [PATCH 6/6] Bump stable version to 0.6.0 --- README.md | 2 +- readme.txt | 2 +- shortcode-ui.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bce76af2..e7b03470 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Tags:** shortcodes **Requires at least:** 4.1 **Tested up to:** 4.4 -**Stable tag:** 0.5.0 +**Stable tag:** 0.6.0 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html diff --git a/readme.txt b/readme.txt index 31fda8b6..97d05442 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapple Tags: shortcodes Requires at least: 4.1 Tested up to: 4.4 -Stable tag: 0.5.0 +Stable tag: 0.6.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/shortcode-ui.php b/shortcode-ui.php index 9ce2b228..1ae08d1d 100644 --- a/shortcode-ui.php +++ b/shortcode-ui.php @@ -1,7 +1,7 @@