Skip to:
Content

bbPress.org

Ticket #2679: 2679.patch

File 2679.patch, 965 bytes (added by thebrandonallen, 5 years ago)
  • src/includes/forums/template.php

    diff --git src/includes/forums/template.php src/includes/forums/template.php
    index b5e2646..9dce6f7 100644
    function bbp_forum_topics_link( $forum_id = 0 ) { 
    12481248        function bbp_get_forum_topics_link( $forum_id = 0 ) {
    12491249                $forum    = bbp_get_forum( $forum_id );
    12501250                $forum_id = $forum->ID;
    1251                 $topics   = sprintf( _n( '%s topic', '%s topics', bbp_get_forum_topic_count( $forum_id, true, false ), 'bbpress' ), bbp_get_forum_topic_count( $forum_id ) );
     1251                $topics   = sprintf( _n( '%s topic', '%s topics', 'bbpress' ), bbp_get_forum_topic_count( $forum_id ), bbp_get_forum_topic_count( $forum_id ) );
    12521252                $retval   = '';
    12531253
    12541254                // First link never has view=all
    function bbp_get_form_forum_visibility() { 
    22452245
    22462246                return apply_filters( 'bbp_get_form_forum_visibility', esc_attr( $forum_visibility ) );
    22472247        }
    2248 
     2248
    22492249/**
    22502250 * Output checked value of forum subscription
    22512251 *