[wp-trac] [WordPress Trac] #30449: shortcode_parse_atts returns incorrect info
WordPress Trac
noreply at wordpress.org
Fri Nov 21 20:38:47 UTC 2014
#30449: shortcode_parse_atts returns incorrect info
--------------------------+------------------------------
Reporter: nampara17 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 4.0.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by gorman2001):
It seems that curvy ("fancy" quotes) interfere with the parsing process.
{{{
add_shortcode('test30449', function($atts) {
var_dump($atts);
die();
});
// Fails
do_shortcode('[test30449 title=”Tab 1 Title”]');
// OK
do_shortcode('[test30449 title="Tab 1 Title"]');
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30449#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list