You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
The shortcode in library/cleanup.php to replace the default WP caption HTML with <figure> and <figcaption> seems to be completely ignored by WordPress 4.2.2.
The text was updated successfully, but these errors were encountered:
I think the whole library/cleanup.php could use an overview. I'm not sure how many of the functions there are still needed, I usually end up remove some of them because they caused issues for me. Most of the code there is still the same as the code was in Reverie 4 of which I'm pretty sure FoundationPress was a fork of, even though it does not say so anywhere.
You're right. The image cleanup functions was quite a mess, to be honest. Have wiped it out and replaced it with a better solution, adopted from Brian Gottie. Check this pull request for details #384.
Feel free to tweak it further and add in <figure>, <figcaption> tags and whatnot. I'm always open to look at your pull requests if you want to contribute :)
The shortcode in library/cleanup.php to replace the default WP caption HTML with
<figure>
and<figcaption>
seems to be completely ignored by WordPress 4.2.2.The text was updated successfully, but these errors were encountered: