[wp-trac] [WordPress Trac] #12760: Escaping shortcode conditionally

WordPress Trac noreply at wordpress.org
Sat Sep 13 22:42:41 UTC 2014


#12760: Escaping shortcode conditionally
--------------------------+-----------------------------
 Reporter:  pavelevap     |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  assigned
 Priority:  low           |   Milestone:  Future Release
Component:  Shortcodes    |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+-----------------------------
Changes (by miqrogroove):

 * keywords:  has-patch dev-feedback => dev-feedback


Comment:

 In shortcodes.diff I don't see how arbitrary corruption of HTML would be
 avoided.  Just because someone uses square braces in their CDATA, URI, or
 other element, doesn't mean it's an unregistered shortcode.

 In shortcodes.2.diff I don't see how shortcodes would even work anymore.

 I agree the escaping system is somewhat nonsensical, but we need a more
 foolproof solution.

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


More information about the wp-trac mailing list