[wp-trac] [WordPress Trac] #59249: shortcode_parse_atts() result for no attributes does not match the documentation

WordPress Trac noreply at wordpress.org
Mon Oct 16 17:05:22 UTC 2023


#59249: shortcode_parse_atts() result for no attributes does not match the
documentation
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:
                                                 |  nicolefurlan
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.5
Component:  Shortcodes                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch has-testing-   |     Focuses:
  info needs-testing needs-unit-tests            |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  2nd-opinion has-patch has-testing-info needs-testing => 2nd-
     opinion has-patch has-testing-info needs-testing needs-unit-tests


Comment:

 A simplified patch like https://github.com/WordPress/wordpress-
 develop/pull/5480 looks good. Just needs correct docblock adjustments and
 ideally unit tests.

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


More information about the wp-trac mailing list