Skip to:
Content

bbPress.org

Ticket #3432: 3432.02.patch

File 3432.02.patch, 817 bytes (added by r-a-y, 5 years ago)

Uploaded the wrong patch!

  • src/includes/topics/template.php

     
    33333333                } elseif ( bbp_get_topic_status( $topic_id ) === bbp_get_pending_status_id() ) {
    33343334                        $retstr = esc_html__( 'This topic is pending moderation.', 'bbpress' );
    33353335
     3336                // Topic is marked as trash
     3337                } elseif ( bbp_get_topic_status( $topic_id ) === bbp_get_trash_status_id() ) {
     3338                        $retstr = esc_html__( 'This topic is in the trash.', 'bbpress' );
     3339
     3340                // Topic is spam
     3341                } elseif ( bbp_get_topic_status( $topic_id ) === bbp_get_spam_status_id() ) {
     3342                        $retstr = esc_html__( 'This topic is marked as spam.', 'bbpress' );
     3343
    33363344                // Fallback
    33373345                } else {
    33383346                        $retstr = esc_html__( 'This topic is empty.', 'bbpress' );