Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/21/2013 12:31:09 AM (13 years ago)
Author:
boonebgorges
Message:

Removes the "Email me when a sitewide notice is sent" notification setting

This setting has never worked; BP has never sent email notifications of
sitewide notices.

Fixes #4802

Props imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-screens.php

    r6545 r6806  
    160160
    161161    if ( !$new_messages = bp_get_user_meta( bp_displayed_user_id(), 'notification_messages_new_message', true ) )
    162         $new_messages = 'yes';
    163 
    164     if ( !$new_notices = bp_get_user_meta( bp_displayed_user_id(), 'notification_messages_new_notice', true ) )
    165         $new_notices  = 'yes'; ?>
     162        $new_messages = 'yes'; ?>
    166163
    167164    <table class="notification-settings" id="messages-notification-settings">
     
    182179                <td class="no"><input type="radio" name="notifications[notification_messages_new_message]" value="no" <?php checked( $new_messages, 'no', true ) ?>/></td>
    183180            </tr>
    184             <tr id="messages-notification-settings-new-site-notice">
    185                 <td></td>
    186                 <td><?php _e( 'A new site notice is posted', 'buddypress' ) ?></td>
    187                 <td class="yes"><input type="radio" name="notifications[notification_messages_new_notice]" value="yes" <?php checked( $new_notices, 'yes', true ) ?>/></td>
    188                 <td class="no"><input type="radio" name="notifications[notification_messages_new_notice]" value="no" <?php checked( $new_notices, 'no', true ) ?>/></td>
    189             </tr>
    190181
    191182            <?php do_action( 'messages_screen_notification_settings' ) ?>
Note: See TracChangeset for help on using the changeset viewer.