Skip to:
Content

BuddyPress.org

Changeset 9649


Ignore:
Timestamp:
03/26/2015 09:52:48 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Activity: Remove unused $bp references from bp-activity-functions.php. See #5138.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-functions.php

    r9621 r9649  
    409409function bp_activity_set_post_type_tracking_args( $post_type = '', $args = array() ) {
    410410    global $wp_post_types;
    411     $bp = buddypress();
    412411
    413412    if ( empty( $wp_post_types[ $post_type ] ) || ! post_type_supports( $post_type, 'buddypress-activity' ) || ! is_array( $args ) ) {
     
    593592    }
    594593
    595     $bp      = buddypress();
    596594    $actions = bp_activity_get_actions();
    597 
    598     $retval = false;
     595    $retval  = false;
     596
    599597    if ( isset( $actions->{$component_id}->{$key} ) ) {
    600598        $retval = $actions->{$component_id}->{$key};
     
    17891787 */
    17901788function bp_activity_post_type_publish( $post_id = 0, $post = null, $user_id = 0 ) {
    1791     $bp = buddypress();
    17921789
    17931790    if ( ! is_a( $post, 'WP_Post' ) ) {
     
    19251922 */
    19261923function bp_activity_post_type_update( $post = null ) {
    1927     $bp = buddypress();
    19281924
    19291925    if ( ! is_a( $post, 'WP_Post' ) ) {
     
    19951991 */
    19961992function bp_activity_post_type_unpublish( $post_id = 0, $post = null ) {
    1997     $bp = buddypress();
    19981993
    19991994    if ( ! is_a( $post, 'WP_Post' ) ) {
Note: See TracChangeset for help on using the changeset viewer.