[wp-trac] [WordPress Trac] #28428: Incorrect highlighting of current track in audio player playlist

WordPress Trac noreply at wordpress.org
Mon Jun 2 00:26:27 UTC 2014


#28428: Incorrect highlighting of current track in audio player playlist
--------------------------+-----------------------------
 Reporter:  quakerattled  |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.0
Component:  Media         |     Version:  3.9.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28649"]:
 {{{
 #!CommitTicketReference repository="" revision="28649"
 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.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28428#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list