Ticket #31359: 31359.3.diff
| File 31359.3.diff, 3.6 KB (added by , 11 years ago) |
|---|
-
src/wp-includes/post.php
3057 3057 * 3058 3058 * @type int $ID The post ID. If equal to something other than 0, 3059 3059 * the post with that ID will be updated. Default 0. 3060 * @type int $post_author The ID of the user who added the post. Default is 3061 * the current user ID. 3062 * @type string $post_date The date of the post. Default is the current time. 3063 * @type string $post_date_gmt The date of the post in the GMT timezone. Default is 3064 * $post_date. 3065 * @type string $post_content The post content. Default empty string. 3066 * @type string $post_content_filtered The filtered post content. Default empty string. 3067 * @type string $post_title The post title. Default empty string. 3068 * @type string $post_excerpt The post excerpt. Default empty string. 3060 3069 * @type string $post_status The post status. Default 'draft'. 3061 3070 * @type string $post_type The post type. Default 'post'. 3062 * @type int $post_author The ID of the user who added the post. Default is3063 * the current user ID.3071 * @type bool $comment_status Whether the post can accept comments. Default is the 3072 * value of 'default_comment_status' option. 3064 3073 * @type bool $ping_status Whether the post can accept pings. Default is the 3065 3074 * value of 'default_ping_status' option. 3066 * @type int $post_parent Set this for the post it belongs to, if any. Default 0.3067 * @type int $menu_order The order it is displayed. Default 0.3075 * @type string $post_password The password to access the post. Default empty string. 3076 * @type string $post_name The post name. Default is the sanitized post title. 3068 3077 * @type string $to_ping Space or carriage return-separated list of URLs to ping. 3069 3078 * Default empty string. 3070 3079 * @type string $pinged Space or carriage return-separated list of URLs that have 3071 3080 * been pinged. Default empty string. 3072 * @type string $post_password The password to access the post. Default empty string. 3081 * @type string $post_modified The date when the post was last modified. Default is 3082 * the current time. 3083 * @type string $post_modified_gmt The date when the post was last modified in the GMT 3084 * timezone. Default is the current time. 3085 * @type int $post_parent Set this for the post it belongs to, if any. Default 0. 3086 * @type int $menu_order The order it is displayed. Default 0. 3087 * @type string $post_mime_type The mime type of the post. Default empty string. 3073 3088 * @type string $guid' Global Unique ID for referencing the post. 3074 * @type string $post_content_filtered The filtered post content. Default empty string.3075 * @type string $post_excerpt The post excerpt. Default empty string.3076 3089 * } 3077 3090 * @param bool $wp_error Optional. Whether to allow return of WP_Error on failure. Default false. 3078 3091 * @return int|WP_Error The post ID on success. The value 0 or WP_Error on failure.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)