Completed
Push — master ( e50f0d...82e66b )
by Andrew
36s
created
app/core/classes/Menu.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,9 +43,11 @@
 block discarded – undo
43 43
 
44 44
 		if ( is_numeric( $arg ) && 0 !== absint( $arg ) ) {
45 45
 			$menu_id = $this->check_menu_id( $arg );
46
-		} elseif ( is_string( $arg ) ) {
46
+		}
47
+		elseif ( is_string( $arg ) ) {
47 48
 			$menu_id = $this->get_menu_id_by_name( $arg );
48
-		} elseif ( is_array( $locations ) && count( $locations ) ) {
49
+		}
50
+		elseif ( is_array( $locations ) && count( $locations ) ) {
49 51
 			$menu_id = $this->get_locations_menu_id( $locations, $arg );
50 52
 		}
51 53
 
Please login to merge, or discard this patch.