Change random seed to the hourly timestamp

This commit is contained in:
Kelly Dwan 2019-12-11 15:59:19 -05:00
parent 4d49cba22c
commit e9b0224b90
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D

View file

@ -425,7 +425,7 @@ function filter_query( $query ) {
break; break;
default: default:
$date = date( 'Ymd' ); $date = date( 'YmdH' );
$query->set( 'orderby', "RAND($date)" ); $query->set( 'orderby', "RAND($date)" );
break; break;
} }