Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2011 06:49:14 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Add function_exists checks for bp_get_settings_slug() where needed. Fixes #3712.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/1.5.php

    r5294 r5296  
    322322            $poster_name = bp_core_get_user_displayname( $poster_user_id );
    323323
    324             $message_link = bp_activity_get_permalink( $activity_id );
    325             $settings_link = bp_core_get_user_domain( $receiver_user_id ) . bp_get_settings_slug() . '/notifications/';
     324            $message_link  = bp_activity_get_permalink( $activity_id );
     325            $settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings';
     326            $settings_link = bp_core_get_user_domain( $receiver_user_id ) . $settings_slug . '/notifications/';
    326327
    327328            $poster_name = stripslashes( $poster_name );
Note: See TracChangeset for help on using the changeset viewer.