Ticket #52316: 52316.patch
File 52316.patch, 565 bytes (added by , 4 years ago) |
---|
-
src/wp-includes/post.php
6223 6223 * @since 4.6.0 6224 6224 * 6225 6225 * @param int $post_id Optional. Attachment ID. Default is the ID of the global `$post`. 6226 * @return string|false Attachment caption on success, false on failure. 6226 * @return string|false Attachment caption on success, false on failure. 6227 6227 */ 6228 6228 function wp_get_attachment_caption( $post_id = 0 ) { 6229 6229 $post_id = (int) $post_id;