mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Coding Standards: Correct alignment in various files.
This fixes `Equals sign not aligned with surrounding statements` WPCS warnings, so that the output of `composer format` is clean. Follow-up to [54445], [54476], [54494], [54522], [54652], [54687]. See #56791. git-svn-id: https://develop.svn.wordpress.org/trunk@54754 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3567,19 +3567,23 @@ function wp_nonce_ays( $action ) {
|
||||
__( 'You are attempting to log out of %s' ),
|
||||
get_bloginfo( 'name' )
|
||||
);
|
||||
$html = $title;
|
||||
$html .= '</p><p>';
|
||||
|
||||
$redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';
|
||||
$html .= sprintf(
|
||||
|
||||
$html = $title;
|
||||
$html .= '</p><p>';
|
||||
$html .= sprintf(
|
||||
/* translators: %s: Logout URL. */
|
||||
__( 'Do you really want to <a href="%s">log out</a>?' ),
|
||||
wp_logout_url( $redirect_to )
|
||||
);
|
||||
} else {
|
||||
$html = __( 'The link you followed has expired.' );
|
||||
|
||||
if ( wp_get_referer() ) {
|
||||
$wp_http_referer = remove_query_arg( 'updated', wp_get_referer() );
|
||||
$wp_http_referer = wp_validate_redirect( esc_url_raw( $wp_http_referer ) );
|
||||
|
||||
$html .= '</p><p>';
|
||||
$html .= sprintf(
|
||||
'<a href="%s">%s</a>',
|
||||
|
||||
Reference in New Issue
Block a user