Shortcake (Shortcode UI) · Version history
Shortcake (Shortcode UI) changelog and version history
- Latest version
- 0.7.4
- Jan 16, 2019 (7 years ago)
- Releases
- 15
- since 2015
- In the last year
- 0
- Tested up to
- WordPress 5.0.31
Releases each year
- 201510 releases
- 20161 release
- 20173 releases
- 20191 release
20191 release
Shortcake (Shortcode UI) 0.7.4Latest
- 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.)
20173 releases
Shortcake (Shortcode UI) 0.7.3
- 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
Shortcake (Shortcode UI) 0.7.2
- 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
- Bug fix: For select fields with multiple=true, allow multiple options to be selected by default
- Added i18n for all strings in attachment field template
- Added Finnish translation
Shortcake (Shortcode UI) 0.7.1
- Change shortcode formatting to add a space before the self-closing trailing slash.
- Fix alignment of attachment previews with long filenames.
- Bug fix: Set an initial value on select fields (previously, no value would be set for a select field unless the user interacts with the field).
- Enhancement/fix: Reuse one copy of the media modal and reset its state upon closing, rather than creating duplicate markup each time the modal is accessed.
- Compatability: Uses “full” version of select2.js 4.0.3 to prevent plugin conflicts with other plugins which expect the full version to be enqueued.
- Compatability: Add SELECT2_NOCONFLICT flag to load Select2 in a unique namespace to prevent conflicts with other plugins which are loading select2.js version 3.
- Added Norwegian translation.
- Multiple coding style fixes.
20161 release
Shortcake (Shortcode UI) 0.7.0
- Adds “Add post element” button to media buttons – one click to open the shortcode list, rather than clicking “Add media” button and then finding “insert post element” in the menu.
- Added “Term Select” field type.
- Added “User Select” field type.
- Added new hooks that fire on rendering/editing/closing a shortcode, which can be used for field types which require custom javascript initialization or cleanup.
- Select fields: add full support for multiple select fields.
- Select fields: support custom ordering of options.
- Select fields: support grouping option in <optgroup>s by passing them as a nested array.
- Attachment fields: support multiple selection.
- Attachment fields: support SVG images (if svg uploads are enabled by a plugin or theme).
- Bug fix: Handle percent signs when decoding fields with encode=true specified.
- Bug fix: fix issue where it takes two clicks on a shortcode in editor to bring up the Edit Shortcode modal.
- Bug fix: fix issue when searching for shortcodes by name where if multiple shortcodes start with the search string, only the first is returned.
- Bug fix: only output a description field on an attribute if it’s not empty.
- Compatability: Remove shims for handling the media modal in WP 4.1 and 4.2.
- Compatability: Upgrade Select2 library to 4.0.3 to avoid conflicts with other plugins which use the latest version of Select2.
- Added Turkish translation.
- Added Finnish translation.
- Added Swedish translation.
- Added Hungarian translation.
201510 releases
Shortcake (Shortcode UI) 0.6.2
- Bug fix: Listens for “change” event on radio buttons and checkboxes to ensure shortcode attributes are updated.
- Bug fix: Ensures register_shortcode_ui is always run before calling get_shortcodes(). Fixes post select AJAX callback when using register_shortcode_ui hook.
Shortcake (Shortcode UI) 0.6.1
- Fixes JavaScript TypeError when clicking media frame menu items.
- Corrects links in readme.
Shortcake (Shortcode UI) 0.6.0
- 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.
- 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.
- Bug fix: Attribute field change event binds to input event rather than keyup.
- Full release notes
Shortcake (Shortcode UI) 0.5.0
- Attachment field: Made it easier to change the attachment by clicking on the thumbnail; added attachment metadata in the field view.
- Attachment field: Refactored JavaScript to trigger events.
- Added a range input type.
- Introduced a register_shortcode_ui hook for plugins to more safely register UI with.
- Removed Preview tab to bring Shortcake’s user experience closer to Core, in which the inline visual preview is preferred over a separate preview in the media modal.
- Cleaned up JavaScript using JSHint.
- Added Russian translation.
- Added Portuguese translation.
- Added PHPDoc to all classes.
- Bug fix: Persists inner_content for a shortcode even when UI isn’t defined.
- Bug fix: Hitting esc in a Shortcake view will now close the modal. (Fixed in Core.)
- Bug fix: Hitting delete when a Shortcake preview is selected in the Visual editor now results in the shortcode being removed. (Fixed in Core.)
- Bug fix: The Shortcake ‘search’ function no longer visually conflicts with the shortcode grid at small screen sizes. (Fixed in Core.)
- Bug fix: Use get_post_type() instead of get_current_screen()->post_type so context is properly set on the frontend.
- Full release notes
Shortcake (Shortcode UI) 0.4.0
- Using 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: 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
Shortcake (Shortcode UI) 0.3.0
- 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.
- For each shortcode attribute, a meta argument can be specified to add arbitrary HTML attributes to the field. We’ve added a compatibility shim for the existing placeholder argument. This compatibility shim will be removed in v0.4.
- When inserting a shortcode, UI shows a helpful message when the shortcode doesn’t have attributes to configure. Previously, the user was presented with a relatively blank screen.
- Our example plugin can be activated through the WordPress admin.
- Clicking “Insert Post Element” in the left menu effectively acts as back button to selecting a shortcode.
- Language around the editing experience reflects the shortcode you’re editing. For instance, with a pullquote shortcode, “Edit Post Element” becomes “Edit Pullquote”.
- Added Dutch translation.
- Source JavaScript files moved to js/src for clarity between source and built JavaScript.
- PHP files are scanned using PHP_CodeSniffer.
- Bug fix: Unquoted shortcode attributes are properly supported.
- Bug fix: Attachment field properly registers dependencies.
- Bug fix: “Insert Post Element” experience should work when visual editor is disabled. Shortcake is only loosely coupled with TinyMCE.
- Bug fix: Editor styles are loaded on after_setup_theme to prevent fatals.
- Full release notes.
Shortcake (Shortcode UI) 0.2.3
- Fix WP 4.1 backwards compatibility issue by restoring arguments passed to TinyMCE view compatibility shim.
Shortcake (Shortcode UI) 0.2.2
- Update arguments passed to TinyMCE View Render for WP 4.2 compatibility. Previously passed argument wasn’t necessary, so removing doesn’t break backwards compatibility.
Shortcake (Shortcode UI) 0.2.1
- Ensure use of jQuery respects jQuery.noConflict() mode in WP.
Shortcake (Shortcode UI) 0.2.0
- JS abstracted using Browserify.
- Enhancements to “Add Post Element” UI: shortcodes sorted alphabetically; search based on label.
- Much easier to select shortcode previews that include iframes.
- WordPress 4.2 compatibility.
- Added color picker to list of potential fields.
- Bug fix: IE11 compatibility.
- Bug fix: Checkbox field can now be unchecked.
- Full release notes.
Questions about Shortcake (Shortcode UI)’s releases
What is the latest version of Shortcake (Shortcode UI)?
0.7.4, released on Jan 16, 2019 (7 years ago). It’s tested up to WordPress 5.0.31.
How often is Shortcake (Shortcode UI) updated?
It had no release in the last year; the latest came out 7 years ago. Its first release on WordPress.org dates from March 2015.
Know when your rivals ship
Track your plugin and its rivals: TrackWP sees each new release in the nightly snapshot and alerts you, with what it did to their rank.
Start freeRelease dates come from the day each version’s folder was made in Shortcake (Shortcode UI)’s WordPress.org SVN repository; the notes from its readme’s changelog, as its authors wrote it.