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

WordPress Trac noreply at wordpress.org
Wed Feb 19 20:07:15 UTC 2014


#23307: shortcode_parse_atts may return empty string
----------------------------------------+------------------------------
 Reporter:  GaryJ                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Shortcodes                  |     Version:
 Severity:  minor                       |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by TobiasBg):

 From #26927:
 > The problem: This was added in [6939] for #5892 six years ago. :-/
 > I'm not exactly sure for what cases this was necessary after [6911] for
 #5914 was already in, but presumably there's some edge case strings that
 the huge regex in `shortcode_parse_atts()` does not match.

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


More information about the wp-trac mailing list