Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#5202 closed defect (bug) (fixed)

Single quote error in tags

Reported by: devil1591 Owned by:
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords:
Cc: Focuses:

Description

Tested on svn 6250.
If you put a single quote in a tag, it will display a backslash before the quote.

ex : "maladie d'amour" will display "maladie d\'amour"

Change History (4)

#1 @Viper007Bond
19 years ago

  • Milestone 2.42.3.1

Needs more stripslashes().

#2 @ryan
19 years ago

  • Milestone 2.3.12.4
  • Version 2.32.4

I can't reproduce this on the 2.3 branch, only on trunk.

I noticed that 2.4 wasn't selectable as a version in trac. I added it so that we can mark these 2.4 specific bug appropriately.

#3 @ryan
19 years ago

I think wp_insert_term() needs to strip before calling insert().

#4 @markjaquith
19 years ago

  • Resolutionfixed
  • Status newclosed

(In [6267]) Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202

Note: See TracTickets for help on using tickets.