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

WordPress Trac noreply at wordpress.org
Sat Jun 7 04:45:39 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:
-----------------------------------+-----------------------------

Comment (by mdawaffe):

 Replying to [comment:15 miqrogroove]:
 > In miqro-12690.patch:

 It seems like we should not texturize things inside escaped shortcodes.
 The main use case for escaped shortcodes is to talk about shortcodes.  You
 don't want people trying to copy and paste your examples and getting stuck
 with curly quotes.

 So `[[gallery ...]]` should be preserved and `[[gallery ...]...[gallery
 ...]]` should either be preserved or be transformed to `[[gallery
 ...]…[gallery ...]]`, I'm not sure.

 Aside: there's a parse error in the test file :)

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


More information about the wp-trac mailing list