Skip to:
Content

BuddyPress.org

Changeset 11189


Ignore:
Timestamp:
10/12/2016 09:12:14 PM (5 years ago)
Author:
mercime
Message:

Correct escaping for translatable string.

Props slaFFik.
Fixes #7284.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php

    r11048 r11189  
    88
    99<div id="<?php echo esc_attr( bp_current_component() ); ?>-dir-search" class="dir-search" role="search">
    10     <form action="" method="get" id="search-<?php  echo esc_attr( bp_current_component() ); ?>-form">
     10    <form action="" method="get" id="search-<?php echo esc_attr( bp_current_component() ); ?>-form">
    1111        <label for="<?php bp_search_input_name(); ?>" class="bp-screen-reader-text"><?php bp_search_placeholder(); ?></label>
    1212        <input type="text" name="<?php echo esc_attr( bp_core_get_component_search_query_arg() ); ?>" id="<?php bp_search_input_name(); ?>" placeholder="<?php bp_search_placeholder(); ?>" />
    1313
    14         <input type="submit" id="<?php echo esc_attr( bp_get_search_input_name() ); ?>_submit" name="<?php bp_search_input_name(); ?>_submit" value="<?php echo esc_html( 'Search', 'buddypress' ); ?>" />
     14        <input type="submit" id="<?php echo esc_attr( bp_get_search_input_name() ); ?>_submit" name="<?php bp_search_input_name(); ?>_submit" value="<?php esc_attr_e( 'Search', 'buddypress' ); ?>" />
    1515    </form>
    1616</div><!-- #<?php echo esc_attr( bp_current_component() ); ?>-dir-search -->
Note: See TracChangeset for help on using the changeset viewer.