WordPress.org

Making WordPress.org

Changeset 4707


Ignore:
Timestamp:
01/17/2017 07:14:28 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Escape default destination topic title on Split Topic screen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-topic-split.php

    r4248 r4707  
    4040                                <input name="bbp_topic_split_option" id="bbp_topic_split_option_reply" type="radio" checked="checked" value="reply" tabindex="<?php bbp_tab_index(); ?>" />
    4141                                <label for="bbp_topic_split_option_reply"><?php printf( __( 'New topic in <strong>%s</strong> titled:', 'wporg-forums' ), bbp_get_forum_title( bbp_get_topic_forum_id( bbp_get_topic_id() ) ) ); ?></label>
    42                                 <input type="text" id="bbp_topic_split_destination_title" value="<?php printf( __( 'Split: %s', 'wporg-forums' ), bbp_get_topic_title() ); ?>" tabindex="<?php bbp_tab_index(); ?>" size="35" name="bbp_topic_split_destination_title" />
     42                                <input type="text" id="bbp_topic_split_destination_title" value="<?php echo esc_attr( sprintf( __( 'Split: %s', 'wporg-forums' ), bbp_get_topic_title() ) ); ?>" tabindex="<?php bbp_tab_index(); ?>" size="35" name="bbp_topic_split_destination_title" />
    4343                            </div>
    4444
Note: See TracChangeset for help on using the changeset viewer.