Ticket #62803: 62803.patch
File 62803.patch, 693 bytes (added by , 2 months ago) |
---|
-
wp-includes/post.php
858 858 * 859 859 * @param int $attachment_id Attachment ID. 860 860 * @param string $file File path for the attachment. 861 * @return bool True on success, false on failure. 861 * @return int|bool Meta ID if the key didn't exist, true on success, 862 * false on failure or if the value passed to the function 863 * is the same as the one that is already in the database. 862 864 */ 863 865 function update_attached_file( $attachment_id, $file ) { 864 866 if ( ! get_post( $attachment_id ) ) {