- Timestamp:
- 11/13/2021 06:40:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/classes/class-bp-notifications-notification.php
r13112 r13147 447 447 448 448 // Sort order direction. 449 if ( ! empty( $args['sort_order'] ) && in_array( $args['sort_order'], array( 'ASC', 'DESC' ), true )) {450 $sort_order = $args['sort_order'];449 if ( ! empty( $args['sort_order'] ) ) { 450 $sort_order = bp_esc_sql_order( $args['sort_order'] ); 451 451 $conditions['sort_order'] = "{$sort_order}"; 452 452 }
Note: See TracChangeset
for help on using the changeset viewer.