[wp-trac] [WordPress Trac] #29629: Shortcode playlist random order parameter can't work
WordPress Trac
noreply at wordpress.org
Fri Sep 12 00:37:35 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:
--------------------------+------------------
Changes (by F J Kaiser):
* severity: normal => major
Comment:
Replying to [comment:2 Otto42]:
> These lines can be removed entirely. I don't know why they're in the
gallery shortcode or in this shortcode, but they're perfectly useless:
>
> {{{
> if ( 'RAND' == $atts['order'] ) {
> $atts['orderby'] = 'none';
> }
> }}}
They aren't just useless. They serve as a mine trap. Nice how fast you
patched it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29629#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list