annabliss.blogg.se

Shortcake ui iconbox
Shortcake ui iconbox








shortcake ui iconbox
  1. #Shortcake ui iconbox full version#
  2. #Shortcake ui iconbox upgrade#
  3. #Shortcake ui iconbox full#

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.

#Shortcake ui iconbox full#

  • 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.
  • #Shortcake ui iconbox full version#

    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.

    shortcake ui iconbox

  • 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.
  • Enhancement: When post_select field is selecting from more than one post type, show the post type alongside the post name for easier selection.
  • 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.
  • Bug fix: Fix some issues where the media modal state was not reset properly if a shortcode was closed without saving.
  • Bug fix: Prevent encoded fields containing two percent characters from breaking.
  • 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: Make sure that the same js hooks fire on all field types.
  • Security: Use nonce validation in ajax render shortcode callback to protect against CSRF.
  • (This option defaults to off and should not affect existing fields.)
  • 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.
  • Bug fix: Fix a bug where the “Select Files” button in the media controller became unresponsive after a post element has been inserted.
  • 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.
  • 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.









  • Shortcake ui iconbox