[wp-trac] [WordPress Trac] #17657: Shortcode regex doesn't allow for hyphens in shortcode name

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 20 13:08:04 UTC 2012


#17657: Shortcode regex doesn't allow for hyphens in shortcode name
-------------------------------------+--------------------
 Reporter:  sivel                    |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.5
Component:  Shortcodes               |     Version:  2.9.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------

Comment (by nacin):

 Replying to [comment:12 kovshenin]:

 I ran this code, but it didn't have any add_shortcode() calls, nor a lot
 of content to get through. When I started registering a few shortcodes and
 gave it some real content to look through, I began to see about a 30%
 slowdown.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17657#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list