[wp-trac] [WordPress Trac] #59206: PHP warning/error when using `[caption]` shortcode without attributes (was: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in Stack trace:\n#0 [internal function]: img_caption_shortcode())

WordPress Trac noreply at wordpress.org
Tue Aug 29 15:53:12 UTC 2023


#59206: PHP warning/error when using `[caption]` shortcode without attributes
--------------------------+---------------------
 Reporter:  maltfield     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.4
Component:  Media         |     Version:  6.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by swissspidy):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This was fixed in r56488

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


More information about the wp-trac mailing list