Ticket #5202 (closed defect (bug): fixed)

Opened 1 year ago

Last modified 1 year ago

Single quote error in tags

Reported by: devil1591 Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords:
Cc:

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

10/15/07 10:14:01 changed by Viper007Bond

  • milestone changed from 2.4 to 2.3.1.

Needs more stripslashes().

10/15/07 20:44:53 changed by ryan

  • version changed from 2.3 to 2.4.
  • milestone changed from 2.3.1 to 2.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.

10/17/07 17:30:26 changed by ryan

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

10/17/07 20:41:43 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

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