Changeset 28004 for trunk/src/wp-includes/media.php
- Timestamp:
- 04/07/2014 08:37:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r27979 r28004 1010 1010 1011 1011 /** 1012 * Output the templates used by playlists 1012 * Output the templates used by playlists. 1013 1013 * 1014 1014 * @since 3.9.0 … … 1052 1052 * @since 3.9.0 1053 1053 * 1054 * @param string $type Type of playlist : "audio" or "video."1054 * @param string $type Type of playlist. Accepts 'audio' or 'video'. 1055 1055 */ 1056 1056 function wp_playlist_scripts( $type ) { … … 1065 1065 1066 1066 /** 1067 * The Playlist shortcode.1068 * 1069 * This implements the functionality of the Playlist Shortcode for displaying1067 * The playlist shortcode. 1068 * 1069 * This implements the functionality of the playlist shortcode for displaying 1070 1070 * a collection of WordPress audio or video files in a post. 1071 1071 * 1072 1072 * @since 3.9.0 1073 1073 * 1074 * @param array $attr Attributes of the shortcode.1074 * @param array $attr Playlist shortcode attributes. 1075 1075 * @return string Playlist output. Empty string if the passed type is unsupported. 1076 1076 */ … … 1261 1261 * @since 3.9.0 1262 1262 * 1263 * @param string $type Type of playlist: "audio" or "video."1264 * @param string $style The "theme" for the playlist. Core provides "light" and "dark."1263 * @param string $type Type of playlist. Possible values are 'audio' or 'video'. 1264 * @param string $style The 'theme' for the playlist. Core provides 'light' and 'dark'. 1265 1265 */ 1266 1266 do_action( 'wp_playlist_scripts', $type, $style ); … … 1318 1318 * @since 3.9.0 1319 1319 * 1320 * @param WP_Post $attachment The attachment in question, provided for context.1320 * @param WP_Post $attachment The current attachment, provided for context. 1321 1321 * @param string $context The context. Accepts 'edit', 'display'. Default 'display'. 1322 * @return array 1322 * @return array Key/value pairs of field keys to labels. 1323 1323 */ 1324 1324 function wp_get_attachment_id3_keys( $attachment, $context = 'display' ) { … … 2735 2735 2736 2736 /** 2737 * If an attachment is missing its metadata, try to generate it.2737 * Maybe attempt to generate attachment metadata, if missing. 2738 2738 * 2739 2739 * @since 3.9.0 2740 2740 * 2741 * @param post $attachment Post object.2741 * @param WP_Post $attachment Attachment object. 2742 2742 */ 2743 2743 function wp_maybe_generate_attachment_metadata( $attachment ) { … … 2760 2760 2761 2761 /** 2762 * Determine if a post supports thumbnails based on the passed $post2762 * Determine if a post supports thumbnails based on the passed post object. 2763 2763 * 2764 2764 * @since 3.9.0 2765 2765 * 2766 * @param WP_Post $post 2767 * 2768 * @return bool ean2766 * @param WP_Post $post Post object. 2767 * 2768 * @return bool Whether the post type supports thumbnails. 2769 2769 */ 2770 2770 function post_supports_thumbnails( $post ) { … … 2781 2781 2782 2782 /** 2783 * Determine if a theme supports thumbnails based on the passed $post2783 * Determine if a theme supports thumbnails based on the passed post object. 2784 2784 * 2785 2785 * @since 3.9.0 2786 2786 * 2787 * @param WP_Post $post 2788 * 2789 * @return bool ean2787 * @param WP_Post $post Post object. 2788 * 2789 * @return bool Whether the current theme supports thumbnails. 2790 2790 */ 2791 2791 function theme_supports_thumbnails( $post ) {
Note: See TracChangeset
for help on using the changeset viewer.