Problem adding naacp.org link to posts
-
I’m encountering some odd behaviour while trying to add a specific URL to a post (plain text, no href or other code). I’m using the Classic Editor plugin but I think the error occurs with Gutenberg too.
The problem link:
https://www.naacp.org/
When the above text is added to a post or page, WordPress seems to change it automatically, putting the word “Home” inside a blockquote instead of showing the URL. Here’s the code it adds:
<blockquote class="wp-embedded-content" data-secret="xxxxxxxxxx"><p><a href="https://www.naacp.org/">Home</a></p></blockquote> <p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" title="“Home” — NAACP" src="https://www.naacp.org/embed/#?secret=xxxxxxxxxx" data-secret="xxxxxxxxxx" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
I’ve tested this on several WordPress sites and the results are the same each time, although the secret value changes. Removing https:// will allow the text to be rendered correctly, but I need to accurately quote a press release which contains the full URL. How can I stop WP from adding all that extra stuff?
- The topic ‘Problem adding naacp.org link to posts’ is closed to new replies.