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
The json-encoded term description will be passed through the wp_targeted_link_rel function because the link contains the target attribute. As a result, the json will become corrupted
The text was updated successfully, but these errors were encountered:
Tymvie
changed the title
Function hooked to the pre_term_description hook may corrupt json
Functions hooked to the pre_term_description hook may corrupt json
Apr 22, 2019
@Tymvie Would you please test #2158? Note that you'll need to ensure that a new validation error is created, either by tweaking the text of your example above, or by resetting all validation error data via wp amp reset-site-validation --yes.
This warning occurs when viewing a validated URL in the admin:
To reproduce this, create a post that contains this code:
The json-encoded term description will be passed through the
wp_targeted_link_rel
function because the link contains thetarget
attribute. As a result, the json will become corruptedThe text was updated successfully, but these errors were encountered: