Docs: Clarify the return value for `wp_create_categories()`.
See #32246. Built from https://develop.svn.wordpress.org/trunk@35975 git-svn-id: http://core.svn.wordpress.org/trunk@35940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b86ccd006
commit
b6c660c38f
|
@ -65,7 +65,7 @@ function wp_create_category( $cat_name, $parent = 0 ) {
|
||||||
*
|
*
|
||||||
* @param array $categories List of categories to create.
|
* @param array $categories List of categories to create.
|
||||||
* @param int $post_id Optional. The post ID. Default empty.
|
* @param int $post_id Optional. The post ID. Default empty.
|
||||||
* @return List of categories to create for the given post.
|
* @return array List of categories to create for the given post.
|
||||||
*/
|
*/
|
||||||
function wp_create_categories( $categories, $post_id = '' ) {
|
function wp_create_categories( $categories, $post_id = '' ) {
|
||||||
$cat_ids = array ();
|
$cat_ids = array ();
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-35974';
|
$wp_version = '4.5-alpha-35975';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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…
Reference in New Issue