Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/14/2015 12:46:38 AM (11 years ago)
Author:
johnjamesjacoby
Message:

I think this building should be condemned. There's serious metal fatigue in all the load-bearing members, the wiring is substandard, it's completely inadequate for our power needs, and the neighborhood is like a demilitarized zone.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/notifications.php

    r5658 r5829  
    5656                $filter = 'bbp_multiple_new_subscription_notification';
    5757        } else {
    58                 if ( !empty( $secondary_item_id ) ) {
     58                if ( ! empty( $secondary_item_id ) ) {
    5959                        $text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
    6060                } else {
    … …  
    9999
    100100        // Bail if somehow this is hooked to an edit action
    101         if ( !empty( $is_edit ) ) {
     101        if ( ! empty( $is_edit ) ) {
    102102                return;
    103103        }
    … …  
    108108
    109109        // Hierarchical replies
    110         if ( !empty( $reply_to ) ) {
     110        if ( ! empty( $reply_to ) ) {
    111111                $reply_to_item_id = bbp_get_topic_author_id( $reply_to );
    112112        }
    … …  
    129129 
    130130        // Notify the immediate reply author if not the current reply author
    131         if ( !empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
     131        if ( ! empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
    132132                $args['secondary_item_id'] = $reply_to_item_id ;
    133133
Note: See TracChangeset for help on using the changeset viewer.