Skip to:
Content

bbPress.org

Changeset 5855


Ignore:
Timestamp:
07/16/2015 01:05:52 AM (6 years ago)
Author:
johnjamesjacoby
Message:

Forums: Fix copy-pasta filter names.

This changeset corrects filters used in 2 apply_filters() calls to properly match their function names.

Props netweb. Fixes #2688.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/forums/functions.php

    r5841 r5855  
    20402040 * @param int $forum_id Forum id
    20412041 * @uses bbp_get_forum_post_type() To get the forum post type
    2042  * @uses bbp_get_public_child_ids() To get the forum ids
     2042 * @uses bbp_get_all_child_ids() To get the forum ids
    20432043 * @uses apply_filters() Calls 'bbp_forum_query_subforum_ids' with the subforum
    20442044 *                        ids and forum id
     
    20482048    //usort( $subforum_ids, '_bbp_forum_query_usort_subforum_ids' );
    20492049
    2050     return apply_filters( 'bbp_get_forum_subforum_ids', $subforum_ids, $forum_id );
     2050    return apply_filters( 'bbp_forum_query_subforum_ids', $subforum_ids, $forum_id );
    20512051}
    20522052
     
    21052105    }
    21062106
    2107     return (int) apply_filters( 'bbp_get_forum_last_reply_id', $reply_id, $forum_id );
     2107    return (int) apply_filters( 'bbp_forum_query_last_reply_id', $reply_id, $forum_id );
    21082108}
    21092109
Note: See TracChangeset for help on using the changeset viewer.