Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4949 closed defect (bug) (fixed)

Strange Bug with apostrophes and the title of a webblog

Reported by: stevie212's profile Stevie212 Owned by:
Milestone: 2.2.3 Priority: normal
Severity: trivial Version: 2.2.3
Component: General Keywords: title, bug, apostrophe, backslash, admin
Focuses: Cc:

Description

It seems that when I add an apostrophe to the title like "WordPress's Blog" etc, the after result when saved, shows that WP automatically ads a backslash before the apostrophe in the title, which is NOT supposed to happen, its pretty easy to re-create the problem, and in this case it's WordPress 2.2.3.

This should be fixed right away, perhaps a 2.2.4 release. Or better yet, in 2.3.

I added a screenshot to show you what I mean, and if you don't beleive me, do it yourself and you'll see what I mean. And strangely this sort of happens in previous WordPresses.

Attachments (1)

bug_title.PNG (19.1 KB) - added by Stevie212 17 years ago.
After saving the options to modify the title, if an apostrophe is used anywhere, WP automatically ads a backslash before the apostrophe, which is really annoying.

Download all attachments as: .zip

Change History (4)

@Stevie212
17 years ago

After saving the options to modify the title, if an apostrophe is used anywhere, WP automatically ads a backslash before the apostrophe, which is really annoying.

#1 @Stevie212
17 years ago

Also, this did not happen in WP 2.2.2 or 2.2.1 or even 2.2.

To note also, in previous versions, only when you make a fresh install of WP and use an apostrophe it will have the backslash, but it seems that in 2.2.3, if you modify it it does the same thing.

#2 @Stevie212
17 years ago

  • Priority changed from high to normal
  • Severity changed from normal to trivial

Also, this doesn't seem to happen in 2.3 Beta 2m but since the 2.2 branch is still of importance for now, this should be investigated and fixed.

#3 @ryan
17 years ago

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

(In [6083]) Fix option sanitization slashing. fixes #4949 for 2.2

Note: See TracTickets for help on using tickets.