Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.
See #47632. Built from https://develop.svn.wordpress.org/trunk@45583 git-svn-id: http://core.svn.wordpress.org/trunk@45394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
+2
-1
@@ -112,7 +112,8 @@ switch ( $action ) {
|
||||
|
||||
$link_id = (int) $_GET['link_id'];
|
||||
|
||||
if ( ! $link = get_link_to_edit( $link_id ) ) {
|
||||
$link = get_link_to_edit( $link_id );
|
||||
if ( ! $link ) {
|
||||
wp_die( __( 'Link not found.' ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user