Make WordPress Core

Ticket #33910: 33910.diff

File 33910.diff, 570 bytes (added by rabmalin, 10 years ago)
  • src/wp-admin/includes/post.php

     
    578578 * @since 2.0.0
    579579 *
    580580 * @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'.
    581582 * @return WP_Post Post object containing all the default post data as attributes
    582583 */
    583584function get_default_post_to_edit( $post_type = 'post', $create_in_db = false ) {