shortcode_atts retaining quotes
-
Hi there.
There seems to be a change with the way shortcode_atts is functioning.
[shortcode test="show" ] $atts = shortcode_atts(array( test => '' ), $atts );
Returns
$atts['test'] = "show"
rather than simply returningshow
, which means the a conditional looking for the test attribute to equal show no longer works. The only way to fix this is to use[shortcode test=show ]
Has this been reported as an issue?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘shortcode_atts retaining quotes’ is closed to new replies.