Making WordPress.org

Changeset 6049


Ignore:
Timestamp:
10/23/2017 10:29:39 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Remove obsolete check for wp_editor() existence.

File:
1 edited

Legend:

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

    r5840 r6049  
    117117                    <?php do_action( 'bbp_theme_before_topic_form_content' ); ?>
    118118
    119                     <?php if ( !function_exists( 'wp_editor' ) ) : ?>
    120 
    121                         <p>
    122                             <label for="bbp_reply_content"><?php _e( 'Reply:', 'wporg-forums' ); ?></label><br />
    123                             <textarea id="bbp_topic_content" name="bbp_topic_content" cols="60" rows="6"><?php bbp_form_topic_content(); ?></textarea>
    124                         </p>
    125 
    126                     <?php else : ?>
    127 
    128                         <?php bbp_the_content( array( 'context' => 'topic' ) ); ?>
    129 
    130                     <?php endif; ?>
     119                    <?php bbp_the_content( array( 'context' => 'topic' ) ); ?>
    131120
    132121                    <?php do_action( 'bbp_theme_after_topic_form_content' ); ?>
Note: See TracChangeset for help on using the changeset viewer.