From 127907a85b3fe31fd2bab9716e94a5d441110554 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 8 Feb 2014 22:55:11 +0000 Subject: [PATCH] Inline documentation tweaks for `has_image_size()` and `remove_image_size()`. See #26951. Built from https://develop.svn.wordpress.org/trunk@27139 git-svn-id: http://core.svn.wordpress.org/trunk@27006 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 9705622305..e89917bcce 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -204,8 +204,8 @@ function add_image_size( $name, $width = 0, $height = 0, $crop = false ) { * * @since 3.9.0 * - * @param string $name The image size to check. - * @return bool True if it exists, false if not. + * @param string $name Optional. The image size to check. Default empty. + * @return bool True if the image size exists, false if not. */ function has_image_size( $name = '' ) { global $_wp_additional_image_sizes; @@ -219,7 +219,7 @@ function has_image_size( $name = '' ) { * @since 3.9.0 * * @param string $name The image size to remove. - * @return bool True on success, false on failure. + * @return bool True if the image size was successfully removed, false on failure. */ function remove_image_size( $name ) { global $_wp_additional_image_sizes;