Skip to content

Commit

Permalink
Merge pull request #771 from wp-shortcake/release-0-7-3
Browse files Browse the repository at this point in the history
Update readme and stable tag for 0.7.3 release
  • Loading branch information
goldenapples authored Sep 12, 2017
2 parents 4628855 + fa79981 commit 9f9a36a
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 36 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
**Contributors:** fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov, bronsonquick, dashaluna, mehigh, sc0ttkclark, kraftner, pravdomil
**Tags:** shortcodes
**Requires at least:** 4.5
**Tested up to:** 4.7.4
**Stable tag:** 0.7.2
**Tested up to:** 4.8.1
**Stable tag:** 0.7.3
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -76,6 +76,18 @@ We've removed the compatibility shim for the magical `content` attribute. If you

## Changelog ##

### 0.7.3 (September 5, 2017) ###
* Security: Use nonce validation in ajax render shortcode callback to protect against CSRF.
* Bug fix: Make sure that the same js hooks fire on all field types.
* Bug fix: Fix bugs affecting multiple select fields (values could not be unset once set, and multiple default values couldn't be set).
* Bug fix: Prevent encoded fields containing two percent characters from breaking.
* Bug fix: Fix some issues where the media modal state was not reset properly if a shortcode was closed without saving.
* Bug fix: Support cases where there are multiple WP_Editor instances on a page, and make sure that the shortcode being edited is sent to the correct page.
* Enhancement: When post_select field is selecting from more than one post type, show the post type alongside the post name for easier selection.
* Enhancement: Show attachment thumbnails for any attachment type, not just images.
* Enhancement: Add more helpful error messages if no shortcodes with Shortcake UI are registered.
* Update Norwegian translation

### 0.7.2 (April 24, 2017) ###
* Bug fix: Fix behavior in WordPress 4.7.4 where editing a shortcode would insert a new shortcode into the editor rather than updating the shortcode being edited.
* Bug fix: The replacement used to escape percent (%) characters in attributes only replaced the first appearance
Expand Down
103 changes: 73 additions & 30 deletions languages/shortcode-ui.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the GPL v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Shortcake (Shortcode UI) 0.7.2\n"
"Project-Id-Version: Shortcake (Shortcode UI) 0.7.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-ui\n"
"POT-Creation-Date: 2017-04-26 19:49:27+00:00\n"
"POT-Creation-Date: 2017-09-05 19:14:53+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -42,15 +42,15 @@ msgstr ""
msgid "Select Image"
msgstr ""

#: dev.php:175
#: dev.php:175 test-shortcodes.php:79
msgid "You can select multiple images."
msgstr ""

#: dev.php:183
msgid "Citation Source"
msgstr ""

#: dev.php:188
#: dev.php:188 test-shortcodes.php:89
msgid "Test placeholder"
msgstr ""

Expand All @@ -59,7 +59,7 @@ msgid "Select Page"
msgstr ""

#: dev.php:200
msgid "Select Term"
msgid "Select Tag"
msgstr ""

#: dev.php:207
Expand Down Expand Up @@ -97,108 +97,147 @@ msgid "Pull Right"
msgstr ""

#: dev.php:240
msgid "Year"
msgid "CSS Classes"
msgstr ""

#: dev.php:241
msgid "Which classes the shortcode should get."
msgstr ""

#: dev.php:249
msgid "Default"
msgstr ""

#: dev.php:250
msgid "Bold"
msgstr ""

#: dev.php:251
msgid "Italic"
msgstr ""

#: dev.php:255
msgid "Year"
msgstr ""

#: dev.php:256
msgid "Optional. The year the quotation is from."
msgstr ""

#: dev.php:260
#: dev.php:275 test-shortcodes.php:47
msgid "Shortcake Dev"
msgstr ""

#: dev.php:279
#: dev.php:294 test-shortcodes.php:66
msgid "Quote"
msgstr ""

#: dev.php:280
#: dev.php:295 test-shortcodes.php:67
msgid "Include a statement from someone famous."
msgstr ""

#: dev.php:352
#: dev.php:368 test-shortcodes.php:151
msgid "Content:"
msgstr ""

#: dev.php:356
#: dev.php:372 test-shortcodes.php:155
msgid "Source:"
msgstr ""

#: dev.php:360
#: dev.php:376 test-shortcodes.php:159
msgid "Image:"
msgstr ""

#: dev.php:364
#: dev.php:380 test-shortcodes.php:163
msgid "Gallery:"
msgstr ""

#: dev.php:372
#: dev.php:388 test-shortcodes.php:171
msgid "Pages:"
msgstr ""

#: dev.php:376
#: dev.php:392 test-shortcodes.php:175
msgid "Terms:"
msgstr ""

#: dev.php:380
#: dev.php:396 test-shortcodes.php:179
msgid "Users:"
msgstr ""

#: dev.php:384
#: dev.php:400 test-shortcodes.php:183
msgid "Color:"
msgstr ""

#: dev.php:388
#: dev.php:404 test-shortcodes.php:187
msgid "Alignment:"
msgstr ""

#: dev.php:392
#: dev.php:408
msgid "Classes:"
msgstr ""

#: dev.php:412 test-shortcodes.php:191
msgid "Year:"
msgstr ""

#: inc/class-shortcode-ui.php:118
#: inc/class-shortcode-ui.php:102
#. Translators: link to plugin wiki page with examples of shortcodes supporting
#. Shortcake UI
msgid ""
"The Shortcode UI plugin will not do anything unless UI is registered for "
"shortcodes through a theme or plugins. For examples, see <a href=\"%s\" "
"target=\"_blank\">here</a>."
msgstr ""

#: inc/class-shortcode-ui.php:115
msgid ""
"Shortcode UI is installed. Try out the shortcode UI through the \"Add Post "
"element\" button in the post edit screen."
msgstr ""

#: inc/class-shortcode-ui.php:157
msgid "Inner Content"
msgstr ""

#: inc/class-shortcode-ui.php:262 inc/class-shortcode-ui.php:263
#: inc/class-shortcode-ui.php:310 inc/class-shortcode-ui.php:311
msgid "Insert Post Element"
msgstr ""

#: inc/class-shortcode-ui.php:265
#: inc/class-shortcode-ui.php:313
#. Translators: Ignore placeholder. This is replaced with the Shortcode name
#. string in JS
msgid "%s Details"
msgstr ""

#: inc/class-shortcode-ui.php:266
#: inc/class-shortcode-ui.php:314
msgid "Insert Element"
msgstr ""

#: inc/class-shortcode-ui.php:267
#: inc/class-shortcode-ui.php:315
msgid "Update"
msgstr ""

#: inc/class-shortcode-ui.php:268
#: inc/class-shortcode-ui.php:316
msgid "There are no attributes to configure for this Post Element."
msgstr ""

#: inc/class-shortcode-ui.php:269
#: inc/class-shortcode-ui.php:317
msgid "Failed to load preview"
msgstr ""

#: inc/class-shortcode-ui.php:270
#: inc/class-shortcode-ui.php:318
msgid "Search"
msgstr ""

#: inc/class-shortcode-ui.php:271
#: inc/class-shortcode-ui.php:319
msgid "Insert Content"
msgstr ""

#: inc/class-shortcode-ui.php:312
#: inc/class-shortcode-ui.php:364
msgid "Add Post Element"
msgstr ""

#: inc/class-shortcode-ui.php:380
#: inc/class-shortcode-ui.php:432
msgid "Something's rotten in the state of Denmark"
msgstr ""

Expand All @@ -219,6 +258,10 @@ msgstr ""
msgid "Back to list"
msgstr ""

#: test-shortcodes.php:84
msgid "Label"
msgstr ""

#. Plugin Name of the plugin/theme
msgid "Shortcake (Shortcode UI)"
msgstr ""
Expand Down
16 changes: 14 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: fusionengineering, mattheu, danielbachhuber, zebulonj, goldenapples, jitendraharpalani, sanchothefat, bfintal, davisshaver, garyj, mte90, fredserva, khromov, bronsonquick, dashaluna, mehigh, sc0ttkclark, kraftner, pravdomil
Tags: shortcodes
Requires at least: 4.5
Tested up to: 4.7.4
Stable tag: 0.7.2
Tested up to: 4.8.1
Stable tag: 0.7.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -68,6 +68,18 @@ We've removed the compatibility shim for the magical `content` attribute. If you

== Changelog ==

= 0.7.3 (September 5, 2017) =
* Security: Use nonce validation in ajax render shortcode callback to protect against CSRF.
* Bug fix: Make sure that the same js hooks fire on all field types.
* Bug fix: Fix bugs affecting multiple select fields (values could not be unset once set, and multiple default values couldn't be set).
* Bug fix: Prevent encoded fields containing two percent characters from breaking.
* Bug fix: Fix some issues where the media modal state was not reset properly if a shortcode was closed without saving.
* Bug fix: Support cases where there are multiple WP_Editor instances on a page, and make sure that the shortcode being edited is sent to the correct page.
* Enhancement: When post_select field is selecting from more than one post type, show the post type alongside the post name for easier selection.
* Enhancement: Show attachment thumbnails for any attachment type, not just images.
* Enhancement: Add more helpful error messages if no shortcodes with Shortcake UI are registered.
* Update Norwegian translation

= 0.7.2 (April 24, 2017) =
* Bug fix: Fix behavior in WordPress 4.7.4 where editing a shortcode would insert a new shortcode into the editor rather than updating the shortcode being edited.
* Bug fix: The replacement used to escape percent (%) characters in attributes only replaced the first appearance
Expand Down
4 changes: 2 additions & 2 deletions shortcode-ui.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Plugin Name: Shortcake (Shortcode UI)
* Version: 0.7.2
* Version: 0.7.3
* 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.7.2' );
define( 'SHORTCODE_UI_VERSION', '0.7.3' );

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

0 comments on commit 9f9a36a

Please sign in to comment.