Skip to:
Content

BuddyPress.org

Changeset 12474


Ignore:
Timestamp:
10/06/2019 06:48:52 PM (7 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

Fixes #8140 (5.0 branch)

Location:
branches/5.0/src
Files:
3 edited

Legend:

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

    r12466 r12474  
    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                                                        ?>
  • branches/5.0/src/bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php

    r12156 r12474  
    2323
    2424        <form action="<?php bp_group_form_action( 'request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form">
    25                 <label for="group-request-membership-comments"><?php esc_html( 'Comments (optional)', 'buddypress' ); ?></label>
     25                <label for="group-request-membership-comments"><?php esc_html_e( 'Comments (optional)', 'buddypress' ); ?></label>
    2626                <textarea name="group-request-membership-comments" id="group-request-membership-comments"></textarea>
    2727
  • branches/5.0/src/bp-templates/bp-nouveau/includes/notifications/template-tags.php

    r12156 r12474  
    105105
    106106                <select name="notification_bulk_action" id="notification-select">
    107                         <option value="" selected="selected"><?php echo esc_html( 'Bulk Actions', 'buddypress' ); ?></option>
     107                        <option value="" selected="selected"><?php esc_html_e( 'Bulk Actions', 'buddypress' ); ?></option>
    108108
    109109                        <?php if ( bp_is_current_action( 'unread' ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.