Completely overhauled—disclaimer: this version’s not live, yet!—Share on …
Completely overhauled—disclaimer: this version’s not live, yet!—Share on Mastodon’s “image alt text” functions. It’ll now always parse post content for images, and store each image’s alt
(if any) attribute, and use that, regardless of what was stored—or not stored, courtesy of the “new” block editor—in wp_postmeta
.
https://github.com/janboddez/share-on-mastodon/commit/917044f42790241e7be8d875c9ba7ea8d40b3c40