Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 ##

Expand All @@ -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.
Expand Down
28 changes: 14 additions & 14 deletions languages/shortcode-ui.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\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"
Expand All @@ -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 ""

Expand Down
25 changes: 16 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 ==

Expand All @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions shortcode-ui.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: Shortcode UI
* Version: 0.4.0-alpha
* Plugin Name: Shortcake (Shortcode UI)
* Version: 0.4.0
* Description: User Interface for adding shortcodes.
* Author: Fusion Engineering and community
* Author URI: http://next.fusion.net/tag/shortcode-ui/
Expand All @@ -19,7 +19,7 @@
* GNU General Public License for more details.
*/

define( 'SHORTCODE_UI_VERSION', '0.4.0-alpha' );
define( 'SHORTCODE_UI_VERSION', '0.4.0' );

require_once dirname( __FILE__ ) . '/inc/class-shortcode-ui.php';
require_once dirname( __FILE__ ) . '/inc/fields/class-shortcode-ui-fields.php';
Expand Down