[wp-trac] [WordPress Trac] #12690: Square brackets breaking links that contain square brackets

WordPress Trac noreply at wordpress.org
Mon Mar 31 20:25:19 UTC 2014


#12690: Square brackets breaking links that contain square brackets
-----------------------------------+-----------------------------
 Reporter:  iandstewart            |       Owner:
     Type:  defect (bug)           |      Status:  reviewing
 Priority:  normal                 |   Milestone:  Future Release
Component:  Formatting             |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  wptexturize has-patch  |     Focuses:
-----------------------------------+-----------------------------
Changes (by miqrogroove):

 * keywords:  wptexturize needs-patch => wptexturize has-patch


Comment:

 In miqro-12690.patch:

 * Assume shortcodes never contain nested shortcodes or HTML elements.
 * Do not match escaped shortcodes like {{{[[gallery]]}}}.
 * Don't waste time checking empty( $curl ) inside the loop.
 * Also fixes #27602.  No reason to patch this twice!
 * Includes unit test by kurtpayne.
 * Added several more unit tests.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/12690#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list