mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
In WPPlaylistView::ended()
, at the end of a playlist, set the index to 0
and call ->setCurrent()
instead of ->loadCurrent()
so that the first track is properly highlighted.
Fixes #28428. Built from https://develop.svn.wordpress.org/trunk@28649 git-svn-id: http://core.svn.wordpress.org/trunk@28467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fd99912f65
commit
4fd5ffe994
@ -145,8 +145,7 @@
|
||||
this.next();
|
||||
} else {
|
||||
this.index = 0;
|
||||
this.current = this.tracks.at( this.index );
|
||||
this.loadCurrent();
|
||||
this.setCurrent();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.0-alpha-20140601';
|
||||
$wp_version = '4.0-alpha-20140602';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user