Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The caption is not pushed to Apple News when using the img_caption_shortcode filter #1152

Open
eyal-rgb opened this issue Jul 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eyal-rgb
Copy link

eyal-rgb commented Jul 28, 2024

Description of the bug

On a site with the classic editor, all content is pushed except for the caption of the images.

Steps To Reproduce

Customize the HTML of the images using the img_caption_shortcode filter:
https://developer.wordpress.org/reference/hooks/img_caption_shortcode/ .
All content will be pushed to Apple News, and the caption will be missing.

Additional Information

An example of the image code on our site after using the img_caption_shortcode filter:

<div id="attachment_0000000" class="wp-caption alignnone">
     <img decoding="async" class="size-medium wp-image-0000000" src="...." alt="" width="400" height="250" />
     <div class="wp-caption-text">
          Lorem Ipsum is simply dummy text of the printing and typesetting industry.
     </div>
</div>
@eyal-rgb eyal-rgb added the bug Something isn't working label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant