Docs: Various docblock improvements in Importer Administration API, as per docs standards.
See #55646. Built from https://develop.svn.wordpress.org/trunk@53794 git-svn-id: http://core.svn.wordpress.org/trunk@53353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
698e0466a0
commit
9a517ac7ae
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Retrieve list of importers.
|
||||
* Retrieves the list of importers.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
|
@ -23,7 +23,7 @@ function get_importers() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sorts a multidimensional array by first member of each top level member
|
||||
* Sorts a multidimensional array by first member of each top level member.
|
||||
*
|
||||
* Used by uasort() as a callback, should not be used directly.
|
||||
*
|
||||
|
@ -39,7 +39,7 @@ function _usort_by_first_member( $a, $b ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Register importer for WordPress.
|
||||
* Registers importer for WordPress.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
|
@ -73,11 +73,11 @@ function wp_import_cleanup( $id ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Handle importer uploading and add attachment.
|
||||
* Handles importer uploading and adds attachment.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @return array Uploaded file's details on success, error message on failure
|
||||
* @return array Uploaded file's details on success, error message on failure.
|
||||
*/
|
||||
function wp_import_handle_upload() {
|
||||
if ( ! isset( $_FILES['import'] ) ) {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-53793';
|
||||
$wp_version = '6.1-alpha-53794';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue