Changeset 24352 for trunk/wp-includes/media.php
- Timestamp:
- 05/24/2013 11:56:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r24334 r24352 2049 2049 * @param WP_Post $post Optional. Used instead of global $post when passed. 2050 2050 * @param int $limit Optional. The number of medias to remove if content is scanned. 2051 * @return string 2051 * @return string HTML for the media. Blank string if no media is found. 2052 2052 */ 2053 2053 function get_the_post_format_media( $type, &$post = null, $limit = 0 ) { … … 2421 2421 * @param string $attached_size If an attached image is found, the size to display it. 2422 2422 * @param WP_Post $post Optional. Used instead of global $post when passed. 2423 * @return string HTML for the image. Blank string if no image is found. 2423 2424 */ 2424 2425 function get_the_post_format_image( $attached_size = 'full', &$post = null ) { … … 2567 2568 return $post->format_content[ $cache_key ]; 2568 2569 } 2570 2571 return ''; 2569 2572 } 2570 2573
Note: See TracChangeset
for help on using the changeset viewer.