[wp-trac] [WordPress Trac] #28564: Shortcode Attributes with HTML Tags no longer working

WordPress Trac noreply at wordpress.org
Wed Jun 25 12:25:51 UTC 2014


#28564: Shortcode Attributes with HTML Tags no longer working
------------------------------------------+-----------------------------
 Reporter:  baden03                       |       Owner:  wonderboymusic
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  high                          |   Milestone:  4.0
Component:  Formatting                    |     Version:  trunk
 Severity:  major                         |  Resolution:
 Keywords:  has-patch commit wptexturize  |     Focuses:
------------------------------------------+-----------------------------

Comment (by kitchin):

 Another use case, besides css selectors, is the comparison operator ">".
 Since the WP API functions allow it as a parameter when searching for
 posts (via the WP_Meta_Query parameter "meta_compare"), it is conceivable
 a plugin author would allow it in a search shortcode attribute. Perhaps
 the plugin could handle it escaped, but if we're escaping `[`, `]`, why
 escape `<`, `>` ?

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


More information about the wp-trac mailing list