Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11182 closed defect (bug) (fixed)

Category with ampersand (&) gets added to dropdown as &

Reported by: aldenta Owned by: azaozz
Priority: normal Milestone: 2.9
Component: JavaScript Version: 2.9
Severity: normal Keywords: has-patch tested
Cc: Focuses:

Description

When adding a new category, the name of the category is added to the Category Parent dropdown via javascript after the ajax call completes. If there is an ampersand in the category title it shows up in the dropdown as & instead of &.

Steps to reproduce

  1. Go to Admin->Posts->Categories
  2. Add new category with ampersand (&) in the name
  3. Look at the parent dropdown

Attachments (2)

11182.diff (494 bytes ) - added by aldenta 17 years ago.
11182.screenshot.png (21.9 KB ) - added by aldenta 17 years ago.

Download all attachments as: .zip

Change History (5)

@aldenta
17 years ago

#1 @aldenta
17 years ago

  • Keywords has-patch added

#2 @scribu
17 years ago

  • Keywords tested added
  • Milestone Unassigned2.9

Confirmed behaviour & working patch.

#3 @azaozz
17 years ago

  • Resolutionfixed
  • Status newclosed

(In [12236]) Do not show entities when inserting newly added category in the parents dropdown, props aldenta, fixes #11182

Note: See TracTickets for help on using tickets.