Add parameter documentation for 'post_category' to wp_insert_post().

Props Latz.
Fixes #36601.
Built from https://develop.svn.wordpress.org/trunk@37255


git-svn-id: http://core.svn.wordpress.org/trunk@37221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2016-04-20 13:54:30 +00:00
parent e58b8ad732
commit 742e0005c6
2 changed files with 3 additions and 1 deletions

View File

@ -3005,6 +3005,8 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) {
* @type int $menu_order The order the post should be displayed in. Default 0.
* @type string $post_mime_type The mime type of the post. Default empty.
* @type string $guid Global Unique ID for referencing the post. Default empty.
* @type array $post_category Array of category names, slugs, or IDs.
* Defaults to value of the 'default_category' option.
* @type array $tax_input Array of taxonomy terms keyed by their taxonomy name. Default empty.
* @type array $meta_input Array of post meta values keyed by their post meta key. Default empty.
* }

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37254';
$wp_version = '4.6-alpha-37255';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.