Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/22/2014 03:50:03 PM (13 years ago)
Author:
djpaul
Message:

Improve string and textarea output escaping throughout BuddyPress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/header.php

    r6605 r7965  
    2020                        <div id="search-bar" role="search">
    2121                                <div class="padder">
    22                                         <h1 id="logo" role="banner"><a href="<?php echo home_url(); ?>" title="<?php _ex( 'Home', 'Home page banner link title', 'buddypress' ); ?>"><?php bp_site_name(); ?></a></h1>
     22                                        <h1 id="logo" role="banner"><a href="<?php echo home_url(); ?>" title="<?php echo esc_attr_x( 'Home', 'Home page banner link title', 'buddypress' ); ?>"><?php bp_site_name(); ?></a></h1>
    2323
    2424                                                <form action="<?php echo bp_search_form_action(); ?>" method="post" id="search-form">
     
    2828                                                        <?php echo bp_search_form_type_select(); ?>
    2929
    30                                                         <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ); ?>" />
     30                                                        <input type="submit" name="search-submit" id="search-submit" value="<?php esc_attr_e( 'Search', 'buddypress' ); ?>" />
    3131
    3232                                                        <?php wp_nonce_field( 'bp_search_form' ); ?>
Note: See TracChangeset for help on using the changeset viewer.