Opened 3 years ago
Closed 3 years ago
#12553 closed defect (bug) (fixed)
Quick edit for link categories fails
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Administration | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | kpdesign |
Description
I am logged in as an admin, and try to use Quick Edit to make a change to a link category.
I make the desired changes, then click Update Category. The update fails and I'm given a Cheatin’ uh? message (see attached screenshot).
I can edit the link categories in regular edit mode.
This happens in both single and multi-site 3.0 installs.
Attachments (2)
Change History (7)
- Keywords link-category, has-patch, commit added; link-category removed
- Keywords has-patch added; quick-edit, link-category, has-patch, removed
- Owner set to dd32
- Status changed from new to assigned
I'm not sure why Link Categories has it's own admin page instead of using edit-tags.php?taxonomy=link_category, but the attached is a quick fix for the bug.
Thats probably due to the poor handling of the Posts(Links) column, At present, the title of the column (and the link) are limited to Posts & edit.php.
Throwing the quickfix in first, should extend the table to handle the different column types & lables.

I'm not sure why Link Categories has it's own admin page instead of using edit-tags.php?taxonomy=link_category, but the attached is a quick fix for the bug.
For taxonomies that use edit-tags.php?taxonomy=blah, there is already several hidden inputs with name="taxonomy", which is what the AJAX needs in order to function.
edit-link-categories.php has no such hidden input. Attached adds one to inline_edit_term_row().