Skip to content

Commit

Permalink
Merge pull request #808 from wp-shortcake/v0.7.4
Browse files Browse the repository at this point in the history
Prepare plugin for 0.7.4 release.
  • Loading branch information
goldenapples authored Jan 16, 2019
2 parents 4fef02d + ca77eba commit 90db780
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 42 deletions.
11 changes: 9 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.8.1
**Stable tag:** 0.7.3
**Tested up to:** 5.0.3
**Stable tag:** 0.7.4
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

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

## Changelog ##

### 0.7.4 (January 16, 2019) ###
* Block editor compatability: prevent templates from being output before the document head, which forced the browser into quirksmode, breaking some CSS styles in the block editor.
* Bug fix: the above bugfix.
* Bug fix: Fix a javascript error which would cause the Insert Post Element modal to be blank if any shortcode contains a select field with no visible options and no default set.
* Bug fix: Fix a bug where the "Select Files" button in the media controller became unresponsive after a post element has been inserted.
* Enhancement: add an optional "allow clear" field attribute to be passed to select2 fields (post, user, or term select) so that multi-select fields can be cleared with a single click. (This option defaults to off and should not affect existing fields.)

### 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.
Expand Down
68 changes: 32 additions & 36 deletions languages/shortcode-ui.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (C) 2017 Fusion Engineering and community
# Copyright (C) 2019 Fusion Engineering and community
# This file is distributed under the GPL v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Shortcake (Shortcode UI) 0.7.3\n"
"Project-Id-Version: Shortcake (Shortcode UI) 0.7.4\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/shortcode-ui\n"
"POT-Creation-Date: 2017-09-05 19:14:53+00:00\n"
"POT-Creation-Date: 2019-01-16 22:36:44+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2019-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.4\n"
Expand Down Expand Up @@ -42,15 +42,15 @@ msgstr ""
msgid "Select Image"
msgstr ""

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

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

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

Expand Down Expand Up @@ -124,59 +124,59 @@ msgstr ""
msgid "Optional. The year the quotation is from."
msgstr ""

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Expand All @@ -199,69 +199,65 @@ msgstr ""
msgid "Inner Content"
msgstr ""

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

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

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

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

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

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

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

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

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

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

#: inc/fields/class-shortcode-ui-field-attachment.php:79
#: inc/fields/class-shortcode-ui-field-attachment.php:80
#: inc/fields/class-shortcode-ui-field-attachment.php:81
msgid "Select Attachment"
msgstr ""

#: inc/fields/class-shortcode-ui-field-attachment.php:138
#: inc/fields/class-shortcode-ui-field-attachment.php:146
msgid "Attachment Details"
msgstr ""

#: inc/fields/class-shortcode-ui-field-attachment.php:145
#: inc/fields/class-shortcode-ui-field-attachment.php:153
msgid "Edit Attachment"
msgstr ""

#: inc/templates/edit-form.tpl.php:3
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
11 changes: 9 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.8.1
Stable tag: 0.7.3
Tested up to: 5.0.3
Stable tag: 0.7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

= 0.7.4 (January 16, 2019) =
* Block editor compatability: prevent templates from being output before the document head, which forced the browser into quirksmode, breaking some CSS styles in the block editor.
* Bug fix: the above bugfix.
* Bug fix: Fix a javascript error which would cause the Insert Post Element modal to be blank if any shortcode contains a select field with no visible options and no default set.
* Bug fix: Fix a bug where the "Select Files" button in the media controller became unresponsive after a post element has been inserted.
* Enhancement: add an optional "allow clear" field attribute to be passed to select2 fields (post, user, or term select) so that multi-select fields can be cleared with a single click. (This option defaults to off and should not affect existing fields.)

= 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.
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.3
* Version: 0.7.4
* 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.3' );
define( 'SHORTCODE_UI_VERSION', '0.7.4' );

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 90db780

Please sign in to comment.