[wp-trac] [WordPress Trac] #47863: Fix odd, unexpected output from shortcode_parse_attts

WordPress Trac noreply at wordpress.org
Wed Oct 30 19:44:03 UTC 2019


#47863: Fix odd, unexpected output from shortcode_parse_attts
-------------------------------------------------+-------------------------
 Reporter:  mauteri                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.4
Component:  Shortcodes                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by mauteri):

 What is everyone's thoughts on introducing this code in a new function
 (something like maybe `wp_parse_atts`), updating core to use the new
 function, and deprecating `shortcode_parse_atts`. That way we can
 introduce a better, more reliable function and not break backwards
 compatibility. Thoughts?

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


More information about the wp-trac mailing list