Ticket #5315: buddypress.patch
File buddypress.patch, 801 bytes (added by , 11 years ago) |
---|
-
bp-notifications/bp-notifications-classes.php
315 315 } 316 316 317 317 // is_new 318 if ( ! empty( $args['is_new'] ) ) { 319 $where_conditions['is_new'] = "is_new = 1"; 320 } elseif ( ( 0 === $args['is_new'] ) || ( false === $args['is_new'] ) ) { 321 $where_conditions['is_new'] = "is_new = 0"; 318 if ( $args['is_new'] !== 'both' ) { 319 if ( ! empty( $args['is_new'] ) ) { 320 $where_conditions['is_new'] = "is_new = 1"; 321 } elseif ( ( 0 === $args['is_new'] ) || ( false === $args['is_new'] ) ) { 322 $where_conditions['is_new'] = "is_new = 0"; 323 } 322 324 } 323 325 324 326 // search_terms