From c9bf087f367d4ee08d5cbd6c21b2add3f931a5d8 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 24 Sep 2013 21:28:35 +0000 Subject: [PATCH] Clarify inline documentation for the return in `get_attached_file()`. Fixes #25409. git-svn-id: https://develop.svn.wordpress.org/trunk@25609 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index fb711d5bd1..607790cf3a 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -177,11 +177,10 @@ add_action( 'init', 'create_initial_post_types', 0 ); // highest priority * attached filename through a filter. * * @since 2.0.0 - * @uses apply_filters() Calls 'get_attached_file' on file path and attachment ID. * * @param int $attachment_id Attachment ID. * @param bool $unfiltered Whether to apply filters. - * @return string|bool The file path to the attached file, or false if the attachment does not exist. + * @return string|bool The file path to where the attached file should be, false otherwise. */ function get_attached_file( $attachment_id, $unfiltered = false ) { $file = get_post_meta( $attachment_id, '_wp_attached_file', true );