[wp-trac] [WordPress Trac] #34770: Add ability to put term meta UX/UI anywhere on term edit screen
WordPress Trac
noreply at wordpress.org
Sat Jan 9 04:33:58 UTC 2016
#34770: Add ability to put term meta UX/UI anywhere on term edit screen
-----------------------------+---------------------------------
Reporter: theMikeD | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version: 4.4
Severity: normal | Resolution: wontfix
Keywords: | Focuses: ui, administration
-----------------------------+---------------------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
A better option still would be to build this page using the Settings API.
Then plugins could do whatever they wanted with it. However, that's a big
job, and I suppose we may completely rebuild wp-admin before it would ever
happen.
A slightly (very slightly) smaller task would be metabox support on edit-
tag-form.php.
In the meantime, I'm very wary of adding a bunch of new action hooks that
we'll have to maintain for the rest of eternity. As you note,
`{$taxonomy}_edit_form_fields` already exists. We also have
`{$taxonomy}_edit_form`, which is outside of the table element.
Furthermore, in #35252 I think we'll be adding `term_edit_form_top`, which
will appear just after the header. If you want elements to appear
somewhere else, you can add them at one of these actions, and move them
around with JavaScript.
And the proposal that we build the page using an array of fields is
interesting. But (a) we don't do this anywhere else in wp-admin; (b)
passing arrays full of markup to filters is going to be a backward
compatibility nightmare; and (c) this is basically what the Settings API
does, so why not use that? :)
If one of the larger projects described above sounds fun to anyone, I'd
suggest a new ticket for it. As for the current ticket, I am going to
close it as wontfix (with a somewhat heavy heart).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34770#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list