[wp-trac] [WordPress Trac] #64849: Media: wp_get_image_alttext() incorrectly treats strpos() position 0 as "not found"

WordPress Trac noreply at wordpress.org
Thu Mar 12 14:15:52 UTC 2026


#64849: Media: wp_get_image_alttext() incorrectly treats strpos() position 0 as
"not found"
-------------------------------------+------------------------
 Reporter:  suhan2411                |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  7.0
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------

Comment (by joedolson):

 @pbiron It's definitely possible to commit before RC1. But we're on the
 verge of commit freeze for beta 5, so I'm not going to try to sneak it in
 without taking the time to test, for sure.

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


More information about the wp-trac mailing list