[wp-trac] [WordPress Trac] #37586: Menu customizer: search results not properly filtered

WordPress Trac noreply at wordpress.org
Sun Oct 6 09:10:16 UTC 2019


#37586: Menu customizer: search results not properly filtered
-------------------------------------------------+-------------------------
 Reporter:  virgodesign                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Customize                            |     Version:  4.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by dinhtungdu):

 * keywords:  has-patch dev-feedback needs-testing needs-refresh => has-
     patch dev-feedback needs-testing


Comment:

 @davidbaumwald Let me own this ticket :)

 I'm wondering should we make the API simpler by changing the 2nd argument
 (`$return_key`) of `get_available_item_types` to `$return_type` which is
 `array` or `string`.
 Mostly, we'll want to get an array of item array or an array of the item
 name. The current version allows us to get the array of whole item array
 or array of the specific key which is more flexible.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37586#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list