Skip to:
Content

bbPress.org

Changeset 4063


Ignore:
Timestamp:
07/06/2012 12:11:23 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Replies:

  • Missed a 'wp_posts' reference in _bbp_has_replies_where().
  • See: #1885.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-reply-functions.php

    r4062 r4063  
    14011401
    14021402    // The text to replace it with
    1403     $replace    = "FORCE INDEX (PRIMARY, post_parent) WHERE 1=1 AND ({$table_name}.ID = {$topic_id} OR wp_posts.post_parent = {$topic_id})";
     1403    $replace    = "FORCE INDEX (PRIMARY, post_parent) WHERE 1=1 AND ({$table_name}.ID = {$topic_id} OR {$table_name}.post_parent = {$topic_id})";
    14041404
    14051405    // Try to replace the search text with the replacement
Note: See TracChangeset for help on using the changeset viewer.