Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2024 10:08:00 PM (5 months ago)
Author:
imath
Message:

BP Nouveau: improve PHP code standards using WPCS

See #7228 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/blogs/confirm.php

    r13530 r13820  
    1919            sprintf(
    2020                /* translators: %s: the link of the new site */
    21                 __( '%s is your new site.', 'buddypress' ),
     21                esc_html__( '%s is your new site.', 'buddypress' ),
    2222                sprintf( '<a href="%s">%s</a>', esc_url( $args['blog_url'] ), esc_url( $args['blog_url'] ) )
    2323            ),
    2424            sprintf(
    25                 /* translators: 1: Login URL, 2: User name */
    26                 __( '<a href="%1$s">Log in</a> as "%2$s" using your existing password.', 'buddypress' ),
    27                 esc_url( $args['login_url'] ),
     25                /* translators: 1: Login link, 2: User name */
     26                esc_html__( '%1$s as "%2$s" using your existing password.', 'buddypress' ),
     27                '<a href="' . esc_url( $args['login_url'] ) . '">' . esc_html__( 'Log in', 'buddypress' ) . '</a>',
    2828                esc_html( $args['user_name'] )
    2929            )
Note: See TracChangeset for help on using the changeset viewer.