Changeset 6917 for trunk/bp-friends/bp-friends-notifications.php
- Timestamp:
- 04/18/2013 12:36:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-notifications.php
r6589 r6917 40 40 ', 'buddypress' ), $initiator_name, $all_requests_link, $initiator_name, $initiator_link ); 41 41 42 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 42 // Only show the disable notifications line if the settings component is enabled 43 if ( bp_is_active( 'settings' ) ) { 44 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 45 } 43 46 44 47 /* Send the message */ … … 75 78 ', 'buddypress' ), $friend_name, $friend_name, $friend_link ); 76 79 77 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 80 // Only show the disable notifications line if the settings component is enabled 81 if ( bp_is_active( 'settings' ) ) { 82 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link ); 83 } 78 84 79 85 /* Send the message */
Note: See TracChangeset
for help on using the changeset viewer.