WordPress.org

Make WordPress Core

Changeset 28546


Ignore:
Timestamp:
05/22/2014 07:00:30 PM (8 years ago)
Author:
wonderboymusic
Message:

In WP_Customize_Manager::register_controls(), $menu_locations is set and never used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r28509 r28546  
    979979        $locations      = get_registered_nav_menus();
    980980        $menus          = wp_get_nav_menus();
    981         $menu_locations = get_nav_menu_locations();
    982981        $num_locations  = count( array_keys( $locations ) );
    983982
     
    10851084        return $color;
    10861085    }
    1087 };
     1086}
    10881087
    10891088/**
Note: See TracChangeset for help on using the changeset viewer.