WordPress.org

Making WordPress.org


Ignore:
Timestamp:
01/13/2017 11:46:55 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: For strings without placeholders, switch to _e() instead of printf( __() ).

See #2151.

File:
1 edited

Legend:

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

    r4248 r4673  
    168168
    169169                            <div>
    170                                 <label for="bbp_topic_edit_reason"><?php printf( __( 'Optional reason for editing:', 'wporg-forums' ), bbp_get_current_user_name() ); ?></label><br />
     170                                <label for="bbp_topic_edit_reason"><?php _e( 'Optional reason for editing:', 'wporg-forums' ); ?></label><br />
    171171                                <input type="text" value="<?php bbp_form_topic_edit_reason(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_topic_edit_reason" id="bbp_topic_edit_reason" />
    172172                            </div>
Note: See TracChangeset for help on using the changeset viewer.