Commit 5f2d089
committed
Media: Make
When using the `adjacent_image_link()` function there is a condition that will return a linked image. Previously, the returned image was sent without alt attributes.
Now, `adjacent_image_link()` will include alt attributes of the image's title when an image is returned.
Props joedolson, Mista-Flo, sabernhardt.
Fixes #52387.
git-svn-id: https://develop.svn.wordpress.org/trunk@50274 602fd350-edb4-49c9-b593-d223f7449a82adjacent_image_link() include alt text when returning an image.1 parent 22ffa08 commit 5f2d089
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3441 | 3441 | | |
3442 | 3442 | | |
3443 | 3443 | | |
3444 | | - | |
| 3444 | + | |
| 3445 | + | |
3445 | 3446 | | |
3446 | 3447 | | |
3447 | 3448 | | |
| |||
0 commit comments