Opened 12 years ago
Closed 12 years ago
#27554 closed task (blessed) (fixed)
Toggle Create a Playlist automatically when a user uploads audio/video
| Reported by: | wonderboymusic | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | Media | Version: | 3.9 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
Description
There are 2 states in MediaFrame.Post that should have their visibility in the menu toggled automatically: Create Audio Playlist and Create Video Playlist.
The counts should also be calculated in PHP ahead of time instead of using a reduce function in JS.
Attachments (2)
Change History (8)
This ticket was mentioned in IRC in #wordpress-dev by wonderboymusic. View the logs.
12 years ago
#4
@
12 years ago
27554.2.diff adds logic to hide menu “Create Audio Playlist” and “Create Video Playlist” items if the initial media count is zero and to show the menu item when a media item of the corresponding type is added to the main collection.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 27788: