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/groups/single/default-front.php

    r13095 r13820  
    1515
    1616            <p>
    17             <?php
    18             printf(
    19                 /* translators: 1: link to the customizer option. 2: link to the customizer widgets section. */
    20                 esc_html__( 'You can set your preferences for the %1$s or add %2$s to it.', 'buddypress' ),
    21                 bp_nouveau_groups_get_customizer_option_link(),
    22                 bp_nouveau_groups_get_customizer_widgets_link()
    23             );
    24             ?>
     17                <?php
     18                printf(
     19                    /* translators: 1: link to the customizer option. 2: link to the customizer widgets section. */
     20                    esc_html__( 'You can set your preferences for the %1$s or add %2$s to it.', 'buddypress' ),
     21                    // phpcs:disable WordPress.Security.EscapeOutput
     22                    bp_nouveau_groups_get_customizer_option_link(), // Escaped in `bp_nouveau_get_customizer_link()`.
     23                    bp_nouveau_groups_get_customizer_widgets_link() // Escaped in `bp_nouveau_get_customizer_link()`.
     24                    // phpcs:enable
     25                );
     26                ?>
    2527            </p>
    2628
Note: See TracChangeset for help on using the changeset viewer.