Skip to:
Content

BuddyPress.org

Changeset 9388


Ignore:
Timestamp:
01/21/2015 08:15:14 AM (9 years ago)
Author:
r-a-y
Message:

bp-legacy: Fix @mention name population in the activity post form template.

See r9276, which did not properly close the <textarea> element. This
commit addresses this.

Fixes #6142.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/post-form.php

    r9276 r9388  
    2929        <div id="whats-new-textarea">
    3030            <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"
    31             <?php
    32             if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif;
    33             if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif;
    34             ?>
    35             ></textarea>
     31                <?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?>
     32            ><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea>
    3633        </div>
    3734
Note: See TracChangeset for help on using the changeset viewer.