Remove some debug cruft accidentally committed in [27670].
See #27430. Built from https://develop.svn.wordpress.org/trunk@27671 git-svn-id: http://core.svn.wordpress.org/trunk@27514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1a0881f341
commit
b4903834cf
|
@ -257,7 +257,6 @@ uksort($menu, "strnatcasecmp"); // make it all pretty
|
||||||
* @param bool $custom Whether custom ordering is enabled. Default false.
|
* @param bool $custom Whether custom ordering is enabled. Default false.
|
||||||
*/
|
*/
|
||||||
if ( apply_filters( 'custom_menu_order', false ) ) {
|
if ( apply_filters( 'custom_menu_order', false ) ) {
|
||||||
log_it( 'false is true' );
|
|
||||||
$menu_order = array();
|
$menu_order = array();
|
||||||
foreach ( $menu as $menu_item ) {
|
foreach ( $menu as $menu_item ) {
|
||||||
$menu_order[] = $menu_item[2];
|
$menu_order[] = $menu_item[2];
|
||||||
|
|
Loading…
Reference in New Issue