Skip to content

Don't add JSON data to content if o2_process_the_content is false#191

Open
ocean90 wants to merge 1 commit intoAutomattic:masterfrom
ocean90:patch-1
Open

Don't add JSON data to content if o2_process_the_content is false#191
ocean90 wants to merge 1 commit intoAutomattic:masterfrom
ocean90:patch-1

Conversation

@ocean90
Copy link
Contributor

@ocean90 ocean90 commented May 10, 2020

Currently, when a shortcode is using a nested the_content filter, the JSON data is added to that content. An example can be seen on https://make.wordpress.org/polyglots/handbook/tools/poedit/

Code of the shortcode: https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/callout-boxes.php?rev=5465&marks=141-144#L141

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

Successfully merging this pull request may close these issues.

1 participant