Compatability: Upgrade Select2 library to 4.0.3 to avoid conflicts with other plugins which use the latest version of Select2.Compatability: Remove shims for handling the media modal in WP 4.1 and 4.2.Bug fix: only output a description field on an attribute if it’s not empty.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: fix issue where it takes two clicks on a shortcode in editor to bring up the Edit Shortcode modal.Bug fix: Handle percent signs when decoding fields with encode=true specified.Attachment fields: support SVG images (if svg uploads are enabled by a plugin or theme).Attachment fields: support multiple selection.Select fields: support grouping option in s by passing them as a nested array.Select fields: support custom ordering of options.Select fields: add full support for multiple select fields.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.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.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.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.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.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).Fix alignment of attachment previews with long filenames.Change shortcode formatting to add a space before the self-closing trailing slash.Added i18n for all strings in attachment field template.Bug fix: For select fields with multiple=true, allow multiple options to be selected by default. Bug fix: The replacement used to escape percent (%) characters in attributes only replaced the first appearance.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.Enhancement: Add more helpful error messages if no shortcodes with Shortcake UI are registered.Enhancement: Show attachment thumbnails for any attachment type, not just images.
0 Comments
Leave a Reply. |