Skip to:
Content

BuddyPress.org

Changeset 7339


Ignore:
Timestamp:
08/05/2013 05:04:51 PM (11 years ago)
Author:
boonebgorges
Message:

Use the correct translation function when building search form HTML

This corrects incorrect use of _e() in r7328

See #4974

Props hnla

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-template.php

    r7328 r7339  
    25012501    $search_form_html = '<form action="" method="get" id="search-groups-form">
    25022502        <label><input type="text" name="s" id="groups_search" placeholder="'. esc_attr( $search_value ) .'" /></label>
    2503         <input type="submit" id="groups_search_submit" name="groups_search_submit" value="'. _e( 'Search', 'buddypress' ) .'" />
     2503        <input type="submit" id="groups_search_submit" name="groups_search_submit" value="'. __( 'Search', 'buddypress' ) .'" />
    25042504    </form>';
    25052505
  • trunk/bp-members/bp-members-template.php

    r7334 r7339  
    708708    $search_form_html = '<form action="" method="get" id="search-members-form">
    709709        <label><input type="text" name="s" id="members_search" placeholder="'. esc_attr( $search_value ) .'" /></label>
    710         <input type="submit" id="members_search_submit" name="members_search_submit" value="' . _e( 'Search', 'buddypress' ) . '" />
     710        <input type="submit" id="members_search_submit" name="members_search_submit" value="' . __( 'Search', 'buddypress' ) . '" />
    711711    </form>';
    712712
Note: See TracChangeset for help on using the changeset viewer.