diff --git a/wp-includes/post.php b/wp-includes/post.php index fdb6d648f5..74ecfa5c4d 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -403,7 +403,7 @@ function set_post_type( $post_id = 0, $post_type = 'post' ) { * @param array $args {@internal Missing Description}} * @return array {@internal Missing Description}} */ -function get_posts($args) { +function get_posts($args = null) { global $wpdb; $defaults = array(