Skip to:
Content

BuddyPress.org

Changeset 8261


Ignore:
Timestamp:
04/09/2014 01:12:53 PM (7 years ago)
Author:
boonebgorges
Message:

Improved inline documentation in bp-notification-actions.php

Fixes #5524

Props rzen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-notifications/bp-notifications-actions.php

    r7543 r8261  
    1616
    1717/**
    18  * Handle marking single notifications as read
     18 * Handle marking single notifications as read.
    1919 *
    2020 * @since BuddyPress (1.9.0)
     
    5252
    5353/**
    54  * Handle marking single notifications as unread
     54 * Handle marking single notifications as unread.
    5555 *
    5656 * @since BuddyPress (1.9.0)
     
    6060function bp_notifications_action_mark_unread() {
    6161
    62     // Bail if not the unread screen
     62    // Bail if not the read screen
    6363    if ( ! bp_is_notifications_component() || ! bp_is_current_action( 'read' ) ) {
    6464        return false;
     
    8888
    8989/**
    90  * Handle marking single notifications as unread
     90 * Handle deleting single notifications.
    9191 *
    9292 * @since BuddyPress (1.9.0)
     
    9696function bp_notifications_action_delete() {
    9797
    98     // Bail if not the unread screen
     98    // Bail if not the read or unread screen
    9999    if ( ! bp_is_notifications_component() || ! ( bp_is_current_action( 'read' ) || bp_is_current_action( 'unread' ) ) ) {
    100100        return false;
Note: See TracChangeset for help on using the changeset viewer.