Skip to:
Content

bbPress.org

Changeset 6386


Ignore:
Timestamp:
03/22/2017 05:52:26 AM (9 years ago)
Author:
johnjamesjacoby
Message:

Add original function parameters to bbp_get_global_post_field filter.

File:
1 edited

Legend:

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

    r6384 r6386  
    15971597    $retval = sanitize_post_field( $field, $retval, $post->ID, $context );
    15981598
    1599     return apply_filters( 'bbp_get_global_post_field', $retval, $post );
     1599    return apply_filters( 'bbp_get_global_post_field', $retval, $post, $field, $context );
    16001600}
    16011601
Note: See TracChangeset for help on using the changeset viewer.