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

WordPress Trac noreply at wordpress.org
Mon Aug 12 22:05:59 UTC 2019


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

Comment (by birgire):

 Replying to [comment:12 mauteri]:
 > @birgire oh, I think I misread the docblock on the return for `''`. This
 looks to work as expected as I read through your additional tests. Thanks.


 I think we should also consider cases like:

 {{{
 [unittest link=https://unit.test/ /]
 [unittest title https://unit.test/ /]
 }}}

 but then the trimming might remove too much.

 What do you think?

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


More information about the wp-trac mailing list