Skip to content

Commit

Permalink
Inline documentation tweaks for has_image_size() and `remove_image_…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
DrewAPicture committed Feb 8, 2014
1 parent 8c9f796 commit 127907a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-includes/media.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 127907a

Please sign in to comment.