mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Revert [38859] due to an incomplete implementation.
See https://core.trac.wordpress.org/ticket/37128#comment:27. See #37128. git-svn-id: https://develop.svn.wordpress.org/trunk@38863 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -532,9 +532,8 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting {
|
||||
}
|
||||
|
||||
if ( ARRAY_A === $args['output'] ) {
|
||||
$items = wp_list_sort( $items, array(
|
||||
$args['output_key'] => 'ASC',
|
||||
) );
|
||||
$GLOBALS['_menu_item_sort_prop'] = $args['output_key'];
|
||||
usort( $items, '_sort_nav_menu_items' );
|
||||
$i = 1;
|
||||
|
||||
foreach ( $items as $k => $item ) {
|
||||
|
||||
Reference in New Issue
Block a user