mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.
See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45583 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -485,7 +485,8 @@ switch ( $wp_list_table->current_action() ) {
|
||||
case 'add':
|
||||
$message = __( 'New user created.' );
|
||||
|
||||
if ( isset( $_GET['id'] ) && ( $user_id = $_GET['id'] ) && current_user_can( 'edit_user', $user_id ) ) {
|
||||
$user_id = isset( $_GET['id'] ) ? $_GET['id'] : false;
|
||||
if ( $user_id && current_user_can( 'edit_user', $user_id ) ) {
|
||||
$message .= sprintf(
|
||||
' <a href="%s">%s</a>',
|
||||
esc_url(
|
||||
|
||||
Reference in New Issue
Block a user