[wp-trac] [WordPress Trac] #29460: Change the default orderby in wp_get_nav_menus()
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Sep  2 23:38:31 UTC 2014
    
    
  
#29460: Change the default orderby in wp_get_nav_menus()
----------------------------------------+-----------------------------
 Reporter:  pento                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Menus                       |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------
Changes (by pento):
 * keywords:   => has-patch needs-unit-tests
Comment:
 Nice. There are a few other places in core where `wp_get_nav_menus()` is
 called with `'orderby' => 'name'` (which can be removed), or called
 without an `orderby` parameter (which need to be tested, to make sure they
 don't break existing behaviour).
 This could also do with some unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29460#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list