Changeset 28653 for trunk/src/wp-includes/media.php
- Timestamp:
- 06/03/2014 03:52:46 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/media.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r28652 r28653 2975 2975 * @since 3.6.0 2976 2976 * 2977 * @param string $type (Mime) type of media desired2978 * @param mixed $post Post ID or object2979 * @return array Found attachments 2977 * @param string $type Mime type. 2978 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 2979 * @return array Found attachments. 2980 2980 */ 2981 2981 function get_attached_media( $type, $post = 0 ) { … … 3101 3101 * @since 3.6.0 3102 3102 * 3103 * @param int|WP_Post $post Optional. Post ID or object.3103 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3104 3104 * @param bool $html Whether to return HTML or data. 3105 3105 * @return string|array Gallery data and srcs parsed from the expanded shortcode. … … 3126 3126 * @since 3.6.0 3127 3127 * 3128 * @param mixed $post Optional. Post ID or object.3129 * @return array A list of lists, each containing image srcs parsed 3128 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3129 * @return array A list of lists, each containing image srcs parsed. 3130 3130 * from an expanded shortcode 3131 3131 */ … … 3140 3140 * @since 3.6.0 3141 3141 * 3142 * @param mixed $post Optional. Post ID or object.3143 * @return array A list of a gallery's image srcs in order 3142 * @param int|WP_Post $post Optional. Post ID or WP_Post object. Default is global `$post`. 3143 * @return array A list of a gallery's image srcs in order. 3144 3144 */ 3145 3145 function get_post_gallery_images( $post = 0 ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)