mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -5042,7 +5042,8 @@ function wp_check_post_hierarchy_for_loops( $post_parent, $post_ID ) {
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param string A post type string, defaults to 'post'.
|
||||
* @param string $post_type A post type string, defaults to 'post'.
|
||||
* @param bool $create_in_db If true then also insert an auto-draft into database
|
||||
* @return object stdClass object containing all the default post data as attributes
|
||||
*/
|
||||
function get_default_post_to_edit( $post_type = 'post', $create_in_db = false ) {
|
||||
|
||||
Reference in New Issue
Block a user