Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#32237 new defect (bug)

Default query args are ignored in menu editor's taxonomy metaboxes

Reported by: szepeviktor's profile szepe.viktor Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2.1
Component: Menus Keywords: has-patch
Focuses: Cc:

Description

wp_nav_menu_item_post_type_meta_box() merges $post_type['args']->_default_query
but wp_nav_menu_item_taxonomy_meta_box ignores $taxonomy['args']->_default_query

Please handle default query parameters.
I'd like to make the metabox longer than 50.

Attachments (2)

32237.patch (500 bytes) - added by tyxla 9 years ago.
Handle _default_query for taxonomies in wp_nav_menu_item_taxonomy_meta_box()
32237.2.patch (502 bytes) - added by tyxla 8 years ago.
Added braces to conform to the coding standards

Download all attachments as: .zip

Change History (6)

@tyxla
9 years ago

Handle _default_query for taxonomies in wp_nav_menu_item_taxonomy_meta_box()

#1 @tyxla
9 years ago

  • Keywords has-patch added

#2 @szepe.viktor
9 years ago

Thank you.

#3 @welcher
8 years ago

  • Keywords needs-patch added; has-patch removed

@tyxla can you add braces to the if statement for standards - https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#brace-style.

@tyxla
8 years ago

Added braces to conform to the coding standards

#4 @tyxla
8 years ago

  • Keywords has-patch added; needs-patch removed

Good point @welcher, thanks! I've submitted an updated patch.

Note: See TracTickets for help on using tickets.