Changeset 9315 for trunk/src/bp-messages/bp-messages-screens.php
- Timestamp:
- 01/08/2015 09:43:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-screens.php
r9216 r9315 211 211 bp_core_add_message( __('Notice deactivated.', 'buddypress') ); 212 212 } 213 } else 213 } elseif ( bp_is_action_variable( 'activate', 0 ) ) { 214 214 if ( !$notice->activate() ) { 215 215 bp_core_add_message( __('There was a problem activating that notice.', 'buddypress'), 'error' ); … … 217 217 bp_core_add_message( __('Notice activated.', 'buddypress') ); 218 218 } 219 } else 219 } elseif ( bp_is_action_variable( 'delete' ) ) { 220 220 if ( !$notice->delete() ) { 221 221 bp_core_add_message( __('There was a problem deleting that notice.', 'buddypress'), 'buddypress' );
Note: See TracChangeset
for help on using the changeset viewer.