Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/15/2011 11:13:32 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Normalize all post_meta values by removing the _forum, _topic, and _reply prefixes off of them where appropriate. There is no point in having them be unique to the post type as it only duplicates the code needed to perform requests. Future trimming to follow.

Introduce bbp-update.php file, which is used to update existing installations to the new meta_key names from this revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/page-bbp_no_replies.php

    r2818 r2905  
    2727                            <?php bbp_set_query_name( 'bbp_no_replies' ); ?>
    2828
    29                             <?php if ( bbp_has_topics( array( 'meta_key' => '_bbp_topic_reply_count', 'meta_value' => 1, 'meta_compare' => '<', 'orderby' => '' ) ) ) : ?>
     29                            <?php if ( bbp_has_topics( array( 'meta_key' => '_bbp_reply_count', 'meta_value' => 1, 'meta_compare' => '<', 'orderby' => '' ) ) ) : ?>
    3030
    3131                                <?php get_template_part( 'loop', 'bbp_topics' ); ?>
Note: See TracChangeset for help on using the changeset viewer.