[wp-trac] [WordPress Trac] #57790: Parsing of Shortcode Attributes: bug locating a final attribute

WordPress Trac noreply at wordpress.org
Tue Feb 28 06:32:02 UTC 2023


#57790: Parsing of Shortcode Attributes: bug locating a final attribute
-------------------------------------------------+-------------------------
 Reporter:  lemernbag                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Shortcodes                           |     Version:  6.1.1
 Severity:  normal                               |  Resolution:  invalid
 Keywords:  needs-patch changes-requested 2nd-   |     Focuses:
  opinion                                        |
-------------------------------------------------+-------------------------
Changes (by alimuzzamanalim):

 * keywords:  needs-patch changes-requested => needs-patch changes-requested
     2nd-opinion
 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Check the `do_shortcode` function.

 It uses the `get_shortcode_regex` function to separate the shortcode name
 and attributes.
 Then only passes the attributes to the `shortcode_parse_atts` function.

 So I don't see any reason to treat it as a bug.

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


More information about the wp-trac mailing list