Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/04/2017 10:04:34 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Filters: Pass original $args array into various filters.

These were all unintentionally omitted when these filters were introduced.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/template.php

    r6438 r6487  
    536536
    537537        // Filter & return
    538         return (string) apply_filters( 'bbp_get_user_nicename', $retval, $user_id, $r );
     538        return (string) apply_filters( 'bbp_get_user_nicename', $retval, $user_id, $r, $args );
    539539    }
    540540
     
    800800
    801801        // Filter & return
    802         return apply_filters( 'bbp_get_admin_link', $retval, $r );
     802        return apply_filters( 'bbp_get_admin_link', $retval, $r, $args );
    803803    }
    804804
     
    848848
    849849        // Filter & return
    850         return apply_filters( 'bbp_get_author_ip', $author_ip, $r );
     850        return apply_filters( 'bbp_get_author_ip', $author_ip, $r, $args );
    851851    }
    852852
Note: See TracChangeset for help on using the changeset viewer.