Make WordPress Core

Ticket #52316: 52316.patch

File 52316.patch, 565 bytes (added by mukesh27, 3 years ago)
  • src/wp-includes/post.php

     
    62236223 * @since 4.6.0
    62246224 *
    62256225 * @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.
    62276227 */
    62286228function wp_get_attachment_caption( $post_id = 0 ) {
    62296229        $post_id = (int) $post_id;