[wp-trac] [WordPress Trac] #29629: Shortcode playlist random order parameter can't work
WordPress Trac
noreply at wordpress.org
Fri Sep 12 03:02:39 UTC 2014
#29629: Shortcode playlist random order parameter can't work
--------------------------+------------------
Reporter: ialocin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1
Component: Media | Version: 4.0
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------
Comment (by Otto42):
Replying to [comment:5 wonderboymusic]:
> Turns out, this is even messier - passing `'orderby' => 'rand'` creates
queries with`RAND() DESC` in them.
Not surprised, but then I'm inclined to say "who cares"... unless you can
show that RAND() DESC is any slower or faster than RAND() ASC. I'm pretty
sure that mySQL won't have any difference here.
And even in that case, I think that's probably better suited for another
ticket, one more specifically related to improving the performance of
WP_Query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29629#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list