- Timestamp:
- 11/13/2021 06:40:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-activity.php
r13146 r13147 512 512 } 513 513 514 // S orting.514 // Sanitize 'order'. 515 515 $sort = $r['sort']; 516 if ( $sort != 'ASC' && $sort != 'DESC') {517 $sort = 'DESC';516 if ( 'DESC' !== $sort ) { 517 $sort = bp_esc_sql_order( $sort ); 518 518 } 519 519
Note: See TracChangeset
for help on using the changeset viewer.