[wp-trac] [WordPress Trac] #17617: "edit_tag_form" action incorrectly performed for categories
WordPress Trac
wp-trac at lists.automattic.com
Tue May 31 05:05:18 UTC 2011
#17617: "edit_tag_form" action incorrectly performed for categories
----------------------------+------------------
Reporter: michaeltyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.2
Component: Administration | Version: 3.2
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+------------------
Comment (by dd32):
Looks like a few other things from that commit had already been fixed (ie.
[15823])
Plugins using hooks such as `edit_tag_form` need to be aware that this
hook is also run for any custom taxonomies, The only pages it shouldn't be
run on are categories and link categories.
Plugins should instead use the taxonomy-specific actions such as
`post_tag_pre_add_form`, `post_tag_add_form`, `post_tag_pre_edit_form`,
`post_tag_edit_form_fields` and `post_tag_edit_form`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17617#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list