Passed
Pull Request — master (#40)
by
unknown
02:07
created
wp-rest-api-v2-menus.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,9 +191,7 @@
 block discarded – undo
191 191
 
192 192
 			if ( empty( $parent ) ) {
193 193
 				unset($child_items[$key]);
194
-			}
195
-
196
-			else if (wp_api_v2_menus_dna_test($menu_items, $child_item)) {
194
+			} else if (wp_api_v2_menus_dna_test($menu_items, $child_item)) {
197 195
 				unset($child_items[$key]);
198 196
 			}
199 197
 		}
Please login to merge, or discard this patch.