Title: &#8216;id=&#8217; bug
Last modified: August 18, 2016

---

# ‘id=’ bug

 *  [lennart](https://wordpress.org/support/users/lennart/)
 * (@lennart)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/)
 * Hi,
    did anyone notice that wordpress removes all occurences of ‘id=’ in comments?
   I did not try out posts. That broke a couple of links I added and source code
   as well. Can we cure that? Lennart

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35463)
 * I dont really get what you mean. the id= removed from which part of the comments?
 *  [Nick Momrik](https://wordpress.org/support/users/mtdewvirus/)
 * (@mtdewvirus)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35473)
 * There are certain tags that are allowed for comments and the id attribute is 
   not one of them. If you want to allow it, you will need to add it. I’ve never
   done it, but there is a page in the Wiki about it.
    [http://wiki.wordpress.org/index.php/OverrideAllowedTags](http://wiki.wordpress.org/index.php/OverrideAllowedTags)
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35489)
 * No this is actually a bug, it shouldn’t remove id= in say URIs or other places
   in text. I spotted the code that did this the other day but I forgot to fix it
   and I can’t quite remember where it was. I’ll look again when I fix up the new
   filter system.
 *  [Nick Momrik](https://wordpress.org/support/users/mtdewvirus/)
 * (@mtdewvirus)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35494)
 * Then why isn’t it listed in the allowed tags?
 *  [Nick Momrik](https://wordpress.org/support/users/mtdewvirus/)
 * (@mtdewvirus)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35495)
 * If you allow id= in comment text doesn’t that give the possibility that someone
   gives something an id that is already used elsewhere on the page, thus causing
   invalid xhtml? Or am I way off track and this discussion is about something completely
   different?
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35502)
 * I think the problem was id= as part of an URL like this:
    [http://example.com/index.php?id=123](http://example.com/index.php?id=123)
 *  [Nick Momrik](https://wordpress.org/support/users/mtdewvirus/)
 * (@mtdewvirus)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35506)
 * Ahhhh….that makes sense.
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35537)
 * Fixed in CVS.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘‘id=’ bug’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 5 participants
 * Last reply from: [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * Last activity: [22 years, 1 month ago](https://wordpress.org/support/topic/id-bug/#post-35537)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
