mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Various docblock improvements in Importer Administration API, as per docs standards.
See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53794 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user