Ticket #4949 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Strange Bug with apostrophes and the title of a webblog

Reported by: Stevie212 Assigned to: anonymous
Priority: normal Milestone: 2.2.3
Component: General Version: 2.2.3
Severity: trivial Keywords: title, bug, apostrophe, backslash, admin
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

bug_title.PNG (19.1 kB) - added by Stevie212 on 09/10/07 22:18:24.
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.

Change History

09/10/07 22:18:24 changed by Stevie212

  • attachment bug_title.PNG added.

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.

09/10/07 22:21:48 changed by Stevie212

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.

09/10/07 22:28:10 changed by Stevie212

  • 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.

09/11/07 20:24:43 changed by ryan

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

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