Skip to content

Commit 6bea530

Browse files
committed
Coding Standards: Remove unreachable break statement after exit in switch.
This resolves static analysis warnings about an unreachable statement. Developed in #8956 Follow-up to [41131]. Props justlevine, johnbillion. See #64238. git-svn-id: https://develop.svn.wordpress.org/trunk@61303 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 985692b commit 6bea530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-admin/network/sites.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
<?php
241241
require_once ABSPATH . 'wp-admin/admin-footer.php';
242242
exit;
243-
break;
243+
// By exiting, there's no longer a switch to break out of.
244244

245245
case 'spam':
246246
case 'notspam':

0 commit comments

Comments
 (0)