Title: WordPress 3.9 keeps changing code?
Last modified: August 21, 2016

---

# WordPress 3.9 keeps changing code?

 *  [marwan84](https://wordpress.org/support/users/marwan84/)
 * (@marwan84)
 * [12 years ago](https://wordpress.org/support/topic/wordpress-39-keeps-changing-code-1/)
 * I built a site for work where I use cooltext 3d to make buttons which
    change
   when you place mouse over. WordPress 3.8 and previous versions were fine. Now
   every time I edit a page and update it changes all the buttons. I also use Plug
   N edit html editor plugin which is also affected. **Code changes from this:**
 *     ```
       <a href="http://www.caringbahmotorcycles.com.au/?page_id=109"><img class="size-full wp-image-506 alignnone" onmouseover="this.src='http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149MouseOver.png';" onmouseout="this.src='http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149.png';" alt="PARTS" src="http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149.png" width="96" height="44" /></a>
       ```
   
 * **To this:**
 *     ```
       <a href="http://www.caringbahmotorcycles.com.au/?page_id=109"><img class="size-full wp-image-506 alignnone" src="http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149.png" alt="PARTS" width="96" height="44" /></a>
       ```
   
 * Cheers for any help

Viewing 1 replies (of 1 total)

 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [12 years ago](https://wordpress.org/support/topic/wordpress-39-keeps-changing-code-1/#post-4969318)
 * That’s because you really shouldn’t be adding JavaScript events (“onnouseover”)
   to HTML tags. The correct way to do this is with the CSS hover pseudoclass.

Viewing 1 replies (of 1 total)

The topic ‘WordPress 3.9 keeps changing code?’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [html editor](https://wordpress.org/support/topic-tag/html-editor/)
 * [wordpress 3.9](https://wordpress.org/support/topic-tag/wordpress-3-9/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [kjodle](https://wordpress.org/support/users/kjodle/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/wordpress-39-keeps-changing-code-1/#post-4969318)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
