[wp-trac] [WordPress Trac] #64849: Media: wp_get_image_alttext() incorrectly treats strpos() position 0 as "not found"
WordPress Trac
noreply at wordpress.org
Sat Mar 14 15:52:41 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 commit | Focuses:
------------------------------+------------------------
Changes (by joedolson):
* keywords: has-patch needs-testing => has-patch commit
Comment:
My tests concur with @alexodiy; these changes are clear improvements.
Marking for commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64849#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list