Ticket #45171: 45171.patch
File 45171.patch, 1.5 KB (added by , 7 years ago) |
---|
-
src/wp-includes/post.php
3307 3307 * @type int $menu_order The order the post should be displayed in. Default 0. 3308 3308 * @type string $post_mime_type The mime type of the post. Default empty. 3309 3309 * @type string $guid Global Unique ID for referencing the post. Default empty. 3310 * @type array $post_category Array of category names, slugs, orIDs.3310 * @type array $post_category Array of category IDs. 3311 3311 * Defaults to value of the 'default_category' option. 3312 3312 * @type array $tags_input Array of tag names, slugs, or IDs. Default empty. 3313 3313 * @type array $tax_input Array of taxonomy terms keyed by their taxonomy name. Default empty. … … 4293 4293 * 4294 4294 * @param int $post_ID Optional. The Post ID. Does not default to the ID 4295 4295 * of the global $post. Default 0. 4296 * @param array|int $post_categories Optional. List of categor ies or ID of category.4296 * @param array|int $post_categories Optional. List of category IDs or ID of category. 4297 4297 * Default empty array. 4298 4298 * @param bool $append If true, don't delete existing categories, just add on. 4299 4299 * If false, replace the categories with the new categories.