Changeset 58581 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 06/26/2024 03:21:26 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r58280 r58581 215 215 if ( isset( $_GET['updated'] ) ) : 216 216 if ( IS_PROFILE_PAGE ) : 217 $message = '< strong>' . __( 'Profile updated.' ) . '</strong>';217 $message = '<p><strong>' . __( 'Profile updated.' ) . '</strong></p>'; 218 218 else : 219 $message = '< strong>' . __( 'User updated.' ) . '</strong>';219 $message = '<p><strong>' . __( 'User updated.' ) . '</strong></p>'; 220 220 endif; 221 221 if ( $wp_http_referer && ! str_contains( $wp_http_referer, 'user-new.php' ) && ! IS_PROFILE_PAGE ) : 222 $message .= '<a href="' . esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), self_admin_url( 'users.php' ) ) ) . '">' . __( '← Go to Users' ) . '</a>'; 222 $message .= sprintf( 223 '<p><a href="%1$s">%2$s</a></p>', 224 esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), self_admin_url( 'users.php' ) ) ), 225 __( '← Go to Users' ) 226 ); 223 227 endif; 224 228 wp_admin_notice( … … 228 232 'dismissible' => true, 229 233 'additional_classes' => array( 'updated' ), 234 'paragraph_wrap' => false, 230 235 ) 231 236 );
Note: See TracChangeset
for help on using the changeset viewer.