| @@ -173,7 +173,7 @@ | ||
| 173 | 173 | * | 
| 174 | 174 | * @since 1.2.0 | 
| 175 | 175 | * @param $menu_items | 
| 176 | - * @param $parent | |
| 176 | + * @param integer $parent | |
| 177 | 177 | * @return array | 
| 178 | 178 | */ | 
| 179 | 179 |          private function nested_menu_items( &$menu_items, $parent = null ) { | 
| @@ -167,8 +167,9 @@ | ||
| 167 | 167 |  		public function get_menu_location( $location ) { | 
| 168 | 168 | |
| 169 | 169 | $locations = get_nav_menu_locations(); | 
| 170 | - if ( ! isset( $locations[ $location ] ) ) | |
| 171 | - return array(); | |
| 170 | +			if ( ! isset( $locations[ $location ] ) ) { | |
| 171 | + return array(); | |
| 172 | + } | |
| 172 | 173 | |
| 173 | 174 | $wp_menu = wp_get_nav_menu_object( $locations[ $location ] ); | 
| 174 | 175 | $menu_items = wp_get_nav_menu_items( $wp_menu->term_id ); |