Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/06/2019 05:54:10 PM (6 years ago)
Author:
imath
Message:

i18n: fix typos in l10n function names

Example of typos:

  • esc_attr instead of esc_attr__,
  • esc_html instead of esc_html__,
  • esc_html instead of esc_html_e.

Props szepe.viktor

See #8140 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-admin.php

    r12466 r12473  
    790790                            printf(
    791791                                '<a class="twitter bp-tooltip" data-bp-tooltip="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
    792                                 esc_attr( 'Follow BuddyPress on Twitter', 'buddypress' ),
     792                                esc_attr__( 'Follow BuddyPress on Twitter', 'buddypress' ),
    793793                                esc_url( 'https://twitter.com/buddypress' ),
    794                                 esc_html( 'Follow BuddyPress on Twitter', 'buddypress' )
     794                                esc_html__( 'Follow BuddyPress on Twitter', 'buddypress' )
    795795                            );
    796796                            ?>
     
    801801                            printf(
    802802                                '<a class="support bp-tooltip" data-bp-tooltip="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
    803                                 esc_attr( 'Visit the Support Forums', 'buddypress' ),
     803                                esc_attr__( 'Visit the Support Forums', 'buddypress' ),
    804804                                esc_url( 'https://buddypress.org/support/' ),
    805                                 esc_html( 'Visit the Support Forums', 'buddypress' )
     805                                esc_html__( 'Visit the Support Forums', 'buddypress' )
    806806                            );
    807807                            ?>
Note: See TracChangeset for help on using the changeset viewer.