Skip to:
Content

bbPress.org

Changeset 3257


Ignore:
Timestamp:
05/29/2011 09:22:00 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fix incorrect parameters in bbp_query_post_parentin(). Props mouratidis.

File:
1 edited

Legend:

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

    r3243 r3257  
    881881 * @global WP $wp
    882882 * @param string $where
    883  * @param WP_Query $object
    884883 * @return string
    885884 */
    886 function bbp_query_post_parent__in( $where, $object ) {
     885function bbp_query_post_parent__in( $where ) {
    887886    global $wpdb, $wp;
    888887
     
    909908    return $where;
    910909}
    911 add_filter( 'posts_where', 'bbp_query_post_parent__in', 10, 2 );
     910add_filter( 'posts_where', 'bbp_query_post_parent__in' );
    912911
    913912/**
Note: See TracChangeset for help on using the changeset viewer.