Completed
Pull Request — master (#44)
by
unknown
01:59
created
includes/wp-api-menus-v2.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -372,8 +372,7 @@
 block discarded – undo
372 372
 			
373 373
 			if($item['type'] == 'taxonomy'){
374 374
                 $slug = get_term( $item['object_id'] )->slug;
375
-            }
376
-            else {
375
+            } else {
377 376
                 $slug = get_post( $item['object_id'] )->post_name;
378 377
             }
379 378
 
Please login to merge, or discard this patch.