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

WordPress Trac noreply at wordpress.org
Sun Aug 23 18:41:54 UTC 2015


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

 * keywords:  has-patch 2nd-opinion => needs-patch
 * focuses:   => docs
 * milestone:  Future Release => 4.4


Comment:

 I am not in favor of changing this.  It's baked in and had no traction
 here.

 I would like to see the docblock corrected/updated in 4.4.  It should
 describe any situation where the attributes regex failure causes a string
 return.

 I am working on a roadmap where we might have a separate attribute parser
 for new shortcodes.  It will be easier to make improvements in that future
 system.

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


More information about the wp-trac mailing list