WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#2120 closed defect (bug) (worksforme)

wordpress removes the comments in posts

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: major Version: 2.0
Component: Administration Keywords:
Focuses: Cc:

Description

this makes it hopeless to use things like:

<!--adsense#some_id-->

Change History (8)

comment:1 @Denis-de-Bernardy10 years ago

The following makes it bug with the classic theme/no plugins installed:

__test__ -- this is a test post skjldkjsql ls jlsdqj qljds qldjsql dsqldqlsjq sqmklsdqlmdq

<!--more-->

more text here

<!--adsense-->

and even more here

comment:2 @Denis-de-Bernardy10 years ago

it removes xml tags too, e.g.:

<adsense />

gets stripped too.


though.... on closer inspection, it seems that what is occuring is that I am not saving the edits to my own post.

comment:3 @Denis-de-Bernardy10 years ago

another update:

actually, the post does get updated, but it is 'restored' somehow (are there some kind of cookie around?) when I reedit the post. I'm using FF.

comment:4 @masquerade10 years ago

  • Milestone set to 2.0

comment:5 @matt10 years ago

  • Milestone changed from 2.0 to 2.1

comment:6 @Viper007Bond10 years ago

Umm, I am able to post HTML comments in posts perfectly fine...

And HTML comments are stipped from non-logged in comments though as they are non-allowed HTML tags.

comment:7 @matt9 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

comment:8 @Nazgul8 years ago

  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.