Yoast / yoast-acf-analysis

WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.
https://wordpress.org/plugins/acf-content-analysis-for-yoast-seo/
GNU General Public License v3.0
62 stars 20 forks source link

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

Open Pcosta88 opened 3 years ago

Pcosta88 commented 3 years ago

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

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).