Make WordPress Core

Ticket #28678: 28678.2.patch

File 28678.2.patch, 2.2 KB (added by taylorde, 12 years ago)
  • src/wp-includes/media.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    11611161 *
    11621162 * @since 3.9.0
    11631163 *
    1164  * @param array $attr Playlist shortcode attributes.
     1164 * @param array $attr {
     1165 *     Array of default playlist attributes.
     1166 *
     1167 *     @type string  $type         Display either 'audio' or 'video'. Default 'audio'.
     1168 *     @type string  $order        Designates ascending or descending order of items in the playlist.
     1169 *                                 Accepts 'ASC', 'DESC', or 'RAND'. Default 'ASC'.
     1170 *     @type string  $orderby      Any column, or columns, to sort the playlist. If $ids are
     1171 *                                 passed, this defaults to the order of the $ids array ('post__in').
     1172 *                                 Otherwise defaults to 'menu_order ID'.
     1173 *     @type integer $id           If an explicit $ids array is not present, this parameter
     1174 *                                 will determine which attachments are used for the playlist.
     1175 *                                 Defaults to the current post ID.
     1176 *     @type array   $ids          Create a playlist out of these explicit attachment IDs. If empty,
     1177 *                                 a playlist will be created from all $type attachments of $id.
     1178 *                                 Default empty.
     1179 *     @type array   $exclude      Specific attachment IDs to exclude from the playlist. Default empty.
     1180 *     @type string  $style        Playlist style. Core supports 'light' and 'dark'. Default 'light'.
     1181 *     @type bool    $tracklist    Show or hide the playlist. Default true.
     1182 *     @type bool    $tracknumbers Show or hide the numbers next to entries in the playlist. Default true.
     1183 *     @type bool    $images       Show or hide the video or audio thumbnail (featured image/post
     1184 *                                 thumbnail). Default true.
     1185 *     @type bool    $artists      Show or hide artist name in the playlist. Default true.
     1186 * }
     1187 *
    11651188 * @return string Playlist output. Empty string if the passed type is unsupported.
    11661189 */
    11671190function wp_playlist_shortcode( $attr ) {