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/activity/post-form.php

    r5737 r7965  
    2828        <div id="whats-new-content">
    2929                <div id="whats-new-textarea">
    30                         <textarea name="whats-new" id="whats-new" cols="50" rows="10"><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_attr( $_GET['r'] ); ?> <?php endif; ?></textarea>
     30                        <textarea name="whats-new" id="whats-new" cols="50" rows="10"><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
    3131                </div>
    3232
    3333                <div id="whats-new-options">
    3434                        <div id="whats-new-submit">
    35                                 <input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php _e( 'Post Update', 'buddypress' ); ?>" />
     35                                <input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php esc_attr_e( 'Post Update', 'buddypress' ); ?>" />
    3636                        </div>
    3737
Note: See TracChangeset for help on using the changeset viewer.