Ticket #33910: 33910.diff
File 33910.diff, 570 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/post.php
578 578 * @since 2.0.0 579 579 * 580 580 * @param string $post_type A post type string, defaults to 'post'. 581 * @param bool $create_in_db Whether to write in database, defaults to 'false'. 581 582 * @return WP_Post Post object containing all the default post data as attributes 582 583 */ 583 584 function get_default_post_to_edit( $post_type = 'post', $create_in_db = false ) {