Ticket #5797 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

Add New Category box on Write->Link page is broken

Reported by: ryan Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: ajax js category has-patch
Cc:

Description

The AJAX category add box in edit-link-form.php needs to be updated. It's a cut-and-paste from the post form and needs to use link categories instead of post categories and lose all of the category hierarchy support since link categories are flat. See wp-admin/edit-link-form.php, wp-admin/js/link.js, and wp-admin/admin-ajax.php.

Attachments

5797.diff (352 bytes) - added by DD32 on 02/10/08 01:53:22.

Change History

02/08/08 07:18:05 changed by ryan

Any takers?

02/10/08 01:53:22 changed by DD32

  • attachment 5797.diff added.

02/10/08 01:54:50 changed by DD32

  • keywords changed from ajax js category to ajax js category has-patch.

Turns out when it was submitting the ajax request, it was still carrying the 'add-category' action.

The correct action for link categorys to be added is 'add-link-category' (And add- seems to be prefixed automatically by the WpList? code)

02/10/08 06:49:46 changed by ryan

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

(In [6774]) Fix add new category box for links. Props DD32. fixes #5797