Fix an incomplete docblock for `wp_create_categories()` as part of `$post/$post_id` cleanup.

See #28388.

Built from https://develop.svn.wordpress.org/trunk@28975


git-svn-id: http://core.svn.wordpress.org/trunk@28764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-07-03 19:22:15 +00:00
parent 38749f273c
commit 0ac4474ce4
1 changed files with 5 additions and 5 deletions

View File

@ -56,15 +56,15 @@ function wp_create_category( $cat_name, $parent = 0 ) {
}
/**
* {@internal Missing Short Description}}
* Create categories for the given post.
*
* @since 2.0.0
*
* @param unknown_type $categories
* @param unknown_type $post_id
* @return unknown
* @param array $categories List of categories to create.
* @param int $post_id Optional. The post ID. Default empty.
* @return 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 ();
foreach ($categories as $category) {
if ($id = category_exists($category))