[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:19:25 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 pbiron):

 Thanx Joe.  Yes, I wouldn't commit before beta5.  I be sure to test things
 later today or tomorrow.

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


More information about the wp-trac mailing list