From 407f31951ab1e138a0047352e9902b053dc1f094 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 29 Jul 2022 09:20:30 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/import.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/includes/import.php b/src/wp-admin/includes/import.php index ebce202de3..87ee00e5f7 100644 --- a/src/wp-admin/includes/import.php +++ b/src/wp-admin/includes/import.php @@ -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'] ) ) {