Opened 5 years ago
Closed 5 years ago
#5797 closed defect (bug) (fixed)
Add New Category box on Write->Link page is broken
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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 (1)
Change History (4)
- Keywords has-patch added
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)
Note: See
TracTickets for help on using
tickets.

Any takers?