Releases: WebDevStudios/WDS-Shortcodes
Releases · WebDevStudios/WDS-Shortcodes
v1.0.7
v1.0.6
- Update shortcode-button dependency. See changelog.
v1.0.5
- Update shortcode-button dependency. See changelog.
v1.0.4
- Update shortcode-button dependency to fix modal displaying before CSS loads.
v1.0.3
WDS_Shortcode_Instances::get()
now accepts a secondary argument,$index
, for selecing the exact object instance under the shortcode namespace.
v1.0.2
- 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
- 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
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
Update composer lock file and zip file after updating Shortcode_Button dependency.
v0.1.2
- New method,
WDS_Shortcode::maybe_json()
which automatically converts attributes from the modifed JSON string created by Shortcode_Button into a normal PHP array.