[wp-trac] [WordPress Trac] #17657: Shortcode regex doesn't allow for hyphens in shortcode name
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 17 15:59:30 UTC 2011
#17657: Shortcode regex doesn't allow for hyphens in shortcode name
-------------------------------------+------------------------------
Reporter: sivel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 2.9.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------------------
Changes (by bobbingwide):
* version: 3.0 => 2.9.2
Comment:
I've just updated the codex saying this is probably a bug.
http://codex.wordpress.org/Shortcode_API#Hyphens
I don't really understand regular expressions so had no idea that the \b
was the cause of the problem. But had performed tests showing that it also
depended on the sequence of calls to add_shortcode.
The problem was present in version 2.9.2 as well.
When is this going to get fixed? How can I help?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17657#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list