Skip to content

Releases: WebDevStudios/WDS-Shortcodes

v1.0.7

07 Jun 16:03

Choose a tag to compare

  • Update for new version of shortcode button, where ajax_parse_shortcode is now an object method (vs class method).

v1.0.6

13 Sep 15:50

Choose a tag to compare

v1.0.5

13 Sep 00:53

Choose a tag to compare

v1.0.4

13 Sep 00:53

Choose a tag to compare

  • Update shortcode-button dependency to fix modal displaying before CSS loads.

v1.0.3

13 Sep 00:52

Choose a tag to compare

  • WDS_Shortcode_Instances::get() now accepts a secondary argument, $index, for selecing the exact object instance under the shortcode namespace.

v1.0.2

13 Sep 00:52

Choose a tag to compare

  • Add new method, WDS_Shortcode::json_decode_att(), for getting decoded json attribute values. Handles converting the pseudo-json format used when storing array field datat.

v1.0.1

26 May 04:33

Choose a tag to compare

  • Add new method, WDS_Shortcode::bool_att(), for getting boolean attribute values. Handles converting "false" and "0" strings to false.
  • Undefined notice fix: Check if attribute value is a string before checking if it is json.
  • Fix issue where faux json_encoded arrays were not being properly translated back to a php array.

v1.0.0

28 Mar 22:20

Choose a tag to compare

Update to be used as a library primarily (using wp-lib-loader). Will break back-compat for plugins extending the WDS_Shortcode_Admin class before the 'init' hook.

v0.1.3

28 Mar 22:19

Choose a tag to compare

Update composer lock file and zip file after updating Shortcode_Button dependency.

v0.1.2

21 Mar 16:14

Choose a tag to compare

  • New method, WDS_Shortcode::maybe_json() which automatically converts attributes from the modifed JSON string created by Shortcode_Button into a normal PHP array.