diff --git a/README.md b/README.md index 0f35ec46..e166ae37 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Shortcake (Shortcode UI) # -**Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, jitendraharpalani, sanchothefat, bfintal, davisshaver +**Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver **Tags:** shortcodes **Requires at least:** 4.1 **Tested up to:** 4.2.1 -**Stable tag:** 0.3.0 +**Stable tag:** 0.4.0 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -23,7 +23,7 @@ Shortcake can be installed like any other WordPress plugin. Once you've done so, you'll need to [register the UI for your code](https://github.com/fusioneng/Shortcake/wiki/Registering-Shortcode-UI). -New in 0.4 is the ability to [attach javascript functions to event attribute updates](https://github.com/fusioneng/Shortcake/wiki/Event-Attribute-Callbacks). Action hooks can be used to dynamically show or hide a field based on the value of another, or to implement custom validation rules. +New in 0.4.0 is the ability to [attach javascript functions to event attribute updates](https://github.com/fusioneng/Shortcake/wiki/Event-Attribute-Callbacks). Action hooks can be used to dynamically show or hide a field based on the value of another, or to implement custom validation rules. ## Screenshots ## @@ -42,22 +42,29 @@ New in 0.4 is the ability to [attach javascript functions to event attribute upd ## Upgrade Notice ## -### 0.3 ### +### 0.4.0 ### + +We've removed the compatibility shim for the `placeholder` attribute argument. You should register a placeholder for your field using the `meta` argument. + +### 0.3.0 ### We've removed the compatibility shim for the magical `content` attribute. If you were using this to support editing inner content, you'll need to change your UI registration to use `inner_content`. ## Changelog ## -### 0.4 (???) ### +### 0.4.0 (June 22, 2015) ### * Using [carldanley/wp-js-hooks](https://github.com/carldanley/WP-JS-Hooks) for a basic API to register JS callbacks on shortcode attributes. +* Attachment field uses a loading indicator when the preview for an attachment is loading. * Added Chinese translation. * Added French translation. * Added Spanish translation. -* Bug fix: Prevent fataling when editor is loaded in the frontend context. -* Bug fix: Color field should also support `meta` argument. -* Bug fix: Remove trailing whitespace from shortcodes without attributes. +* Bug fix: Prevents fataling when editor is loaded in the frontend context. +* Bug fix: Color field also supports `meta` argument. +* Bug fix: Removes trailing whitespace from shortcodes without attributes. +* Bug fix: Removes double slash in editor css path. +* [Full release notes](http://fusion.net/story/154890/introducing-shortcake-v0-4-0-strawberry/) -### 0.3 (April 27, 2015) ### +### 0.3.0 (April 27, 2015) ### * **Breaking change**: We've removed the compatibility shim for the magical `content` attribute. If you were using this to support editing inner content, you'll need to change your UI registration to use `inner_content`. * New `post_select` field type for selecting from a list of posts. Supports an additional `query` parameter to modify the search query. * Using a new `post_type` argument, shortcode UI can be registered for specific post types. This is helpful if you want the UI for a given shortcode to only appear on specific post types. diff --git a/languages/shortcode-ui.pot b/languages/shortcode-ui.pot index ba23c1c6..e0bde184 100644 --- a/languages/shortcode-ui.pot +++ b/languages/shortcode-ui.pot @@ -2,16 +2,16 @@ # This file is distributed under the GPL v2 or later. msgid "" msgstr "" -"Project-Id-Version: Shortcode UI v0.3-alpha\n" +"Project-Id-Version: Shortcode UI 0.4.0-alpha\n" "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/shortcode-ui\n" -"POT-Creation-Date: 2015-04-22 16:48:40+00:00\n" +"POT-Creation-Date: 2015-06-22 19:53:12+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -"X-Generator: grunt-wp-i18n 0.5.0\n" +"X-Generator: grunt-wp-i18n 0.5.2\n" "X-Poedit-KeywordsList: " "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_" "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n" @@ -28,47 +28,47 @@ msgstr "" msgid "Inner Content" msgstr "" -#: inc/class-shortcode-ui.php:101 inc/class-shortcode-ui.php:102 +#: inc/class-shortcode-ui.php:109 inc/class-shortcode-ui.php:110 msgid "Insert Post Element" msgstr "" -#: inc/class-shortcode-ui.php:103 +#: inc/class-shortcode-ui.php:111 msgid "%s Details" msgstr "" -#: inc/class-shortcode-ui.php:104 +#: inc/class-shortcode-ui.php:112 msgid "Insert Element" msgstr "" -#: inc/class-shortcode-ui.php:105 +#: inc/class-shortcode-ui.php:113 msgid "Update" msgstr "" -#: inc/class-shortcode-ui.php:106 +#: inc/class-shortcode-ui.php:114 msgid "There are no attributes to configure for this Post Element." msgstr "" -#: inc/class-shortcode-ui.php:107 +#: inc/class-shortcode-ui.php:115 msgid "Edit" msgstr "" -#: inc/class-shortcode-ui.php:108 +#: inc/class-shortcode-ui.php:116 msgid "Preview" msgstr "" -#: inc/class-shortcode-ui.php:109 +#: inc/class-shortcode-ui.php:117 msgid "Failed to load preview" msgstr "" -#: inc/class-shortcode-ui.php:110 +#: inc/class-shortcode-ui.php:118 msgid "Search" msgstr "" -#: inc/class-shortcode-ui.php:111 +#: inc/class-shortcode-ui.php:119 msgid "Insert Content" msgstr "" -#: inc/class-shortcode-ui.php:205 +#: inc/class-shortcode-ui.php:213 msgid "Something's rotten in the state of Denmark" msgstr "" diff --git a/readme.txt b/readme.txt index 1acbd407..df927ca7 100644 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,9 @@ === Shortcake (Shortcode UI) === -Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, jitendraharpalani, sanchothefat, bfintal, davisshaver +Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver Tags: shortcodes Requires at least: 4.1 Tested up to: 4.2.1 -Stable tag: 0.3.0 +Stable tag: 0.4.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -23,7 +23,7 @@ Shortcake can be installed like any other WordPress plugin. Once you've done so, you'll need to [register the UI for your code](https://github.com/fusioneng/Shortcake/wiki/Registering-Shortcode-UI). -New in 0.4 is the ability to [attach javascript functions to event attribute updates](https://github.com/fusioneng/Shortcake/wiki/Event-Attribute-Callbacks). Action hooks can be used to dynamically show or hide a field based on the value of another, or to implement custom validation rules. +New in 0.4.0 is the ability to [attach javascript functions to event attribute updates](https://github.com/fusioneng/Shortcake/wiki/Event-Attribute-Callbacks). Action hooks can be used to dynamically show or hide a field based on the value of another, or to implement custom validation rules. == Screenshots == @@ -34,22 +34,29 @@ New in 0.4 is the ability to [attach javascript functions to event attribute upd == Upgrade Notice == -= 0.3 = += 0.4.0 = + +We've removed the compatibility shim for the `placeholder` attribute argument. You should register a placeholder for your field using the `meta` argument. + += 0.3.0 = We've removed the compatibility shim for the magical `content` attribute. If you were using this to support editing inner content, you'll need to change your UI registration to use `inner_content`. == Changelog == -= 0.4 (???) = += 0.4.0 (June 22, 2015) = * Using [carldanley/wp-js-hooks](https://github.com/carldanley/WP-JS-Hooks) for a basic API to register JS callbacks on shortcode attributes. +* Attachment field uses a loading indicator when the preview for an attachment is loading. * Added Chinese translation. * Added French translation. * Added Spanish translation. -* Bug fix: Prevent fataling when editor is loaded in the frontend context. -* Bug fix: Color field should also support `meta` argument. -* Bug fix: Remove trailing whitespace from shortcodes without attributes. +* Bug fix: Prevents fataling when editor is loaded in the frontend context. +* Bug fix: Color field also supports `meta` argument. +* Bug fix: Removes trailing whitespace from shortcodes without attributes. +* Bug fix: Removes double slash in editor css path. +* [Full release notes](http://fusion.net/story/154890/introducing-shortcake-v0-4-0-strawberry/) -= 0.3 (April 27, 2015) = += 0.3.0 (April 27, 2015) = * **Breaking change**: We've removed the compatibility shim for the magical `content` attribute. If you were using this to support editing inner content, you'll need to change your UI registration to use `inner_content`. * New `post_select` field type for selecting from a list of posts. Supports an additional `query` parameter to modify the search query. * Using a new `post_type` argument, shortcode UI can be registered for specific post types. This is helpful if you want the UI for a given shortcode to only appear on specific post types. diff --git a/shortcode-ui.php b/shortcode-ui.php index d77ed3c7..2fc1e11c 100644 --- a/shortcode-ui.php +++ b/shortcode-ui.php @@ -1,7 +1,7 @@