Skip to:
Content

bbPress.org

Changeset 5302


Ignore:
Timestamp:
03/04/2014 12:39:14 AM (7 years ago)
Author:
johnjamesjacoby
Message:

Add meta_type to extra page template: page-topics-no-replies.php. See #2554.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/extras/page-topics-no-replies.php

    r4733 r5302  
    2828                    <?php bbp_set_query_name( 'bbp_no_replies' ); ?>
    2929
    30                     <?php if ( bbp_has_topics( array( 'meta_key' => '_bbp_reply_count', 'meta_value' => '1', 'meta_compare' => '<', 'orderby' => 'date', 'show_stickies' => false ) ) ) : ?>
     30                    <?php if ( bbp_has_topics( array( 'meta_key' => '_bbp_reply_count', 'meta_value' => '1', 'meta_type' => 'NUMERIC', 'meta_compare' => '<', 'orderby' => 'date', 'show_stickies' => false ) ) ) : ?>
    3131
    3232                        <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
Note: See TracChangeset for help on using the changeset viewer.