mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Miscellaneous docblock corrections.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46610 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2618,8 +2618,8 @@ function wp_ext2type( $ext ) {
|
||||
* @return array {
|
||||
* Values for the extension and mime type.
|
||||
*
|
||||
* @type string|false $0 File extension, or false if the file doesn't match a mime type.
|
||||
* @type string|false $1 File mime type, or false if the file doesn't match a mime type.
|
||||
* @type string|false $ext File extension, or false if the file doesn't match a mime type.
|
||||
* @type string|false $type File mime type, or false if the file doesn't match a mime type.
|
||||
* }
|
||||
*/
|
||||
function wp_check_filetype( $filename, $mimes = null ) {
|
||||
@@ -2660,9 +2660,9 @@ function wp_check_filetype( $filename, $mimes = null ) {
|
||||
* @return array {
|
||||
* Values for the extension, mime type, and corrected filename.
|
||||
*
|
||||
* @type string|false $0 File extension, or false if the file doesn't match a mime type.
|
||||
* @type string|false $1 File mime type, or false if the file doesn't match a mime type.
|
||||
* @type string|false $2 File name with its correct extension, or false if it cannot be determined.
|
||||
* @type string|false $ext File extension, or false if the file doesn't match a mime type.
|
||||
* @type string|false $type File mime type, or false if the file doesn't match a mime type.
|
||||
* @type string|false $proper_filename File name with its correct extension, or false if it cannot be determined.
|
||||
* }
|
||||
*/
|
||||
function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) {
|
||||
@@ -2822,9 +2822,9 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) {
|
||||
* @param array $wp_check_filetype_and_ext {
|
||||
* Values for the extension, mime type, and corrected filename.
|
||||
*
|
||||
* @type string|false $0 File extension, or false if the file doesn't match a mime type.
|
||||
* @type string|false $1 File mime type, or false if the file doesn't match a mime type.
|
||||
* @type string|false $2 File name with its correct extension, or false if it cannot be determined.
|
||||
* @type string|false $ext File extension, or false if the file doesn't match a mime type.
|
||||
* @type string|false $type File mime type, or false if the file doesn't match a mime type.
|
||||
* @type string|false $proper_filename File name with its correct extension, or false if it cannot be determined.
|
||||
* }
|
||||
* @param string $file Full path to the file.
|
||||
* @param string $filename The name of the file (may differ from $file due to
|
||||
|
||||
Reference in New Issue
Block a user