WordPress hates nice code
-
Why does WP constantly change code?
We just migrated a site and looking at the pages, I can see all my links have lost their format on a large number of pages. Viewing the source shows <p> tags around everything, though they’re not there when I edit the page from within WP. Still, regardless of the <p> tags, ALL my links are now unformatted.
Example:
<a class="question" name="1"><h4> </h4></a>
is now:
<a class="question" name="1"></a> <h4></h4> <a class="question" name="1"></a>
and:
<a class="faq" name="2">Why is distance learning so popular?</a>
has been changed to:
<a class="faq" name="2"></a>Why is distance learning so popular?
I have a plug-in that is supposed to stop WP from changing code, but apparently it’s not working. I literally have hundreds of these to fix now.
Does anybody have any knowledge about why this is happening and how to prevent it?
- The topic ‘WordPress hates nice code’ is closed to new replies.