mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
Docs: Use third-person singular verbs for WP_Importer
related function descriptions, as per docblocks standards.
Props pouicpouic. See #57840. Built from https://develop.svn.wordpress.org/branches/6.2@55663 git-svn-id: http://core.svn.wordpress.org/branches/6.2@55175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
484b3840bd
commit
1e3d9b8007
@ -10,7 +10,7 @@ class WP_Importer {
|
|||||||
public function __construct() {}
|
public function __construct() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns array with imported permalinks from WordPress database
|
* Returns array with imported permalinks from WordPress database.
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database abstraction object.
|
* @global wpdb $wpdb WordPress database abstraction object.
|
||||||
*
|
*
|
||||||
@ -47,7 +47,7 @@ class WP_Importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return count of imported permalinks from WordPress database
|
* Returns count of imported permalinks from WordPress database.
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database abstraction object.
|
* @global wpdb $wpdb WordPress database abstraction object.
|
||||||
*
|
*
|
||||||
@ -74,7 +74,7 @@ class WP_Importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set array with imported comments from WordPress database
|
* Sets array with imported comments from WordPress database.
|
||||||
*
|
*
|
||||||
* @global wpdb $wpdb WordPress database abstraction object.
|
* @global wpdb $wpdb WordPress database abstraction object.
|
||||||
*
|
*
|
||||||
@ -176,7 +176,7 @@ class WP_Importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort by strlen, longest string first
|
* Sorts by strlen, longest string first.
|
||||||
*
|
*
|
||||||
* @param string $a
|
* @param string $a
|
||||||
* @param string $b
|
* @param string $b
|
||||||
@ -214,7 +214,7 @@ class WP_Importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bump up the request timeout for http requests
|
* Bumps up the request timeout for http requests.
|
||||||
*
|
*
|
||||||
* @param int $val
|
* @param int $val
|
||||||
* @return int
|
* @return int
|
||||||
@ -224,7 +224,7 @@ class WP_Importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if user has exceeded disk quota
|
* Checks if user has exceeded disk quota.
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
@ -239,7 +239,7 @@ class WP_Importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replace newlines, tabs, and multiple spaces with a single space.
|
* Replaces newlines, tabs, and multiple spaces with a single space.
|
||||||
*
|
*
|
||||||
* @param string $text
|
* @param string $text
|
||||||
* @return string
|
* @return string
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2.1-alpha-55662';
|
$wp_version = '6.2.1-alpha-55663';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user