Add missing inline descriptions. see #19067.

git-svn-id: https://develop.svn.wordpress.org/trunk@23437 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-02-16 02:52:57 +00:00
parent 4b040e72dc
commit 07d596afb7
2 changed files with 10 additions and 10 deletions

View File

@ -1012,7 +1012,7 @@ function get_default_page_to_edit() {
* @since 1.2.0
* @deprecated 3.5.0
* @deprecated Use image_resize()
* @see image_resize()
* @see image_resize()
*
* @param mixed $file Filename of the original image, Or attachment id.
* @param int $max_side Maximum length of a single side for the thumbnail.
@ -1020,6 +1020,6 @@ function get_default_page_to_edit() {
* @return string Thumbnail path on success, Error string on failure.
*/
function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) {
_deprecated_function( __FUNCTION__, '3.5', 'image_resize' );
_deprecated_function( __FUNCTION__, '3.5', 'image_resize()' );
return apply_filters( 'wp_create_thumbnail', image_resize( $file, $max_side, $max_side ) );
}

View File

@ -1110,12 +1110,12 @@ function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) {
}
/**
* {@internal Missing Short Description}}
* Converts a shorthand byte value to an integer byte value.
*
* @since 2.3.0
*
* @param unknown_type $size
* @return unknown
* @param string $size A shorthand byte value.
* @return int An integer byte value.
*/
function wp_convert_hr_to_bytes( $size ) {
$size = strtolower( $size );
@ -1130,12 +1130,12 @@ function wp_convert_hr_to_bytes( $size ) {
}
/**
* {@internal Missing Short Description}}
* Converts an integer byte value to a shorthand byte value.
*
* @since 2.3.0
*
* @param unknown_type $bytes
* @return unknown
* @param int $bytes An integer byte value.
* @return string A shorthand byte value.
*/
function wp_convert_bytes_to_hr( $bytes ) {
$units = array( 0 => 'B', 1 => 'kB', 2 => 'MB', 3 => 'GB' );
@ -1146,11 +1146,11 @@ function wp_convert_bytes_to_hr( $bytes ) {
}
/**
* {@internal Missing Short Description}}
* Determine the maximum upload size allowed in php.ini.
*
* @since 2.5.0
*
* @return unknown
* @return int Allowed upload size.
*/
function wp_max_upload_size() {
$u_bytes = wp_convert_hr_to_bytes( ini_get( 'upload_max_filesize' ) );