mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-01 16:51:18 +03:00
Change random seed to the hourly timestamp
This commit is contained in:
parent
4d49cba22c
commit
e9b0224b90
|
@ -425,7 +425,7 @@ function filter_query( $query ) {
|
|||
break;
|
||||
|
||||
default:
|
||||
$date = date( 'Ymd' );
|
||||
$date = date( 'YmdH' );
|
||||
$query->set( 'orderby', "RAND($date)" );
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue