jtsternberg / Shortcode_Button

Tinymce and Quicktag buttons for outputting shortcodes. Built to work with CMB2.
81 stars 7 forks source link

Catch Array Before It Throws Error in data.value.replace string function #26

Open davidshq opened 4 years ago

davidshq commented 4 years ago

Checks if data.value is an array and converts to JSON string before being processed by data.value.replace (string only function).