WordPress.org

Plugin Directory


Ignore:
Timestamp:
12/16/12 17:07:25 (5 years ago)
Author:
SriniG
Message:

v1.5.9: Fix for cases where random refresh always fetches only two quotes; widget bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quotes-collection/trunk/quotes-collection-shortcodes.php

    r635854 r640095  
    6464    else if ($orderby == 'date_added') $orderby = 'time_added'; 
    6565    else if($orderby == 'random' || $orderby == 'rand') { 
    66         $orderby = 'RAND()'; 
     66        $orderby = 'RAND(UNIX_TIMESTAMP(NOW()))'; 
    6767        $order = ''; 
    6868        $paging = false; 
Note: See TracChangeset for help on using the changeset viewer.