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

Twitter:data2 estimated reading time meta tag for use with slack fails to be outputted #282

Open
Pcosta88 opened this issue Nov 23, 2020 · 0 comments

Comments

@Pcosta88
Copy link

Pcosta88 commented Nov 23, 2020

Please give us a description of what happened.

Enabling the ACF Analysis plugin fails to generate the right twitter:data2 tag for use with slack

Please describe what you expected to happen and why.

ACF analysis plugin would scan the ACF fields, perform a calculation to determine reading length, and generate the tag so the estimated reading time would appear in slack

How can we reproduce this behavior?

  1. Install and Activate ACF, Yoast, and ACF Analysis
  2. Create ACF fields such as text or WYSIWYG
  3. See Yoast scan the fields on the backend

1

  1. See no twitter:data2 tag for an estimated reading time appear.

2

Technical info

  • WordPress version: 5.5.3
  • ACF Content Analysis for Yoast SEO version: 3.0
  • Yoast SEO version: 15.3
  • ACF type: Free and Pro
  • ACF version: 5.9.3

NOTE
A user indicated that

... it seems the issue comes from the wp_strip_all_tags function in /src/presenters/slack/enhanced-data-presenter.php (line 69).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant