Making WordPress.org

Ticket #3231: 3231.diff

File 3231.diff, 1.4 KB (added by audrasjb, 7 years ago)

Patch for both new topic and new reply (different name attributes on textarea)

  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-reply.php

    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-reply.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-reply.php
    index adb4012..fe90b00 100644
    a b if ( bbp_is_reply_edit() ) : ?> 
    7272
    7373                                        <?php do_action( 'bbp_theme_before_reply_form_content' ); ?>
    7474
     75                                        <label for="bbp_reply_content"><?php esc_html_e( 'Your message:', 'wporg-forums' ); ?></label>
    7576                                        <?php bbp_the_content( array( 'context' => 'reply' ) ); ?>
    7677
    7778                                        <?php do_action( 'bbp_theme_after_reply_form_content' ); ?>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-topic.php

    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-topic.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-topic.php
    index df13359..5f2d6ab 100644
    a b  
    116116
    117117                                        <?php do_action( 'bbp_theme_before_topic_form_content' ); ?>
    118118
     119                                        <label for="bbp_topic_content"><?php esc_html_e( 'Your message:', 'wporg-forums' ); ?></label>
    119120                                        <?php bbp_the_content( array( 'context' => 'topic' ) ); ?>
    120121
    121122                                        <?php do_action( 'bbp_theme_after_topic_form_content' ); ?>