[wp-trac] [WordPress Trac] #23307: shortcode_parse_atts may return empty string

WordPress Trac noreply at wordpress.org
Wed Sep 30 23:31:13 UTC 2015


#23307: shortcode_parse_atts may return empty string
------------------------------+--------------------------
 Reporter:  GaryJ             |       Owner:  miqrogroove
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Shortcodes        |     Version:
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+--------------------------

Comment (by miqrogroove):

 The "separate attribute parser for new shortcodes" idea died with draft
 one of that roadmap.  :)  Since there is no longer a plan to have two
 separate shortcode systems, we need to either wontfix, or we can add this
 ticket to the roadmap as a planned change.

 On the one hand, there were no objections to wontfix at the last meeting.
 On the other hand, I think the patch adds new information that we can
 consider.  The return behavior did not match the old docs and also did not
 match the ticket description.

 If we do decide to change the return type, I think we should also take the
 opportunity at the same time to disallow equal signs and quote chars from
 unnamed, unquoted values.  It makes no sense to allow an attribute value
 like {{{gar=bage"}}}

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


More information about the wp-trac mailing list