[wp-trac] [WordPress Trac] #28956: Moving taxonomy metabox

WordPress Trac noreply at wordpress.org
Sat Jul 19 12:34:21 UTC 2014


#28956: Moving taxonomy metabox
--------------------------------+-----------------------------
 Reporter:  RIISdesign          |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Taxonomy            |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 As far as I know, if you want to move a taxonomy meta box, you must
 currently use "remove_meta_box" and then use "add_meta_box" with the
 context and priority as parameters. Take this link for instance:
 http://stackoverflow.com/questions/14512203/wordpress-custom-taxonomy-
 move-meta-box

 Shouldn't this rather be an option inside $args using "register_taxonomy"?
 It would be so much easier and intuitive.

 You could e.g. write:

 {{{
 $args = array(
     'context' => 'normal', 'priority' => 'high'
 );
 }}}

 There should also be a "move_meta_box" function for already created
 taxonomies such as "tags", where you simply pass these paramters along
 with the taxonomy name.
 It could look like this:

 {{{
 move_meta_box( $id, $page, $context, $priority );
 }}}

 I just think that removing and then adding a meta box only to move its
 location is so hacky and unintuitive, and this would make it easier so we
 can create better UIs for our customers!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28956>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list