mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7647 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user