Changeset 13205
- Timestamp:
- 02/12/2024 10:11:54 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/admin.php
r13171 r13205 1509 1509 * Randomizes the list of posts in the queue. 1510 1510 * 1511 * Note: Can be disabled via query string: ?random=01511 * Note: Can be disabled if explicitly sorting via a post field or via query string: ?random=0 1512 1512 */ 1513 1513 public static function randomize_the_queue( $query ) { … … 1516 1516 } 1517 1517 1518 // Don't randomizeif disabled via query parameter.1518 // Bail if disabled via query parameter. 1519 1519 if ( '0' === $query->get( 'random' ) ) { 1520 return; 1521 } 1522 1523 // Bail if already explicitly sorting by a post field. 1524 if ( ! empty( $_GET['orderby'] ) && 'random' !== $_GET['orderby'] ) { 1520 1525 return; 1521 1526 }
Note: See TracChangeset
for help on using the changeset viewer.