Make WordPress Core


Ignore:
Timestamp:
09/10/2012 08:39:45 PM (12 years ago)
Author:
ryan
Message:

Deprecate get_default_post_to_edit(). Props SergeyBiryukov. fixes #21677

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r21789 r21800  
    460460
    461461/**
    462  * Get the default page information to use.
    463  *
    464  * @since 2.5.0
    465  *
    466  * @return WP_Post Post object containing all the default post data as attributes
    467  */
    468 function get_default_page_to_edit() {
    469     $page = get_default_post_to_edit();
    470     $page->post_type = 'page';
    471     return $page;
    472 }
    473 
    474 /**
    475462 * Determine if a post exists based on title, content, and date
    476463 *
Note: See TracChangeset for help on using the changeset viewer.