WordPress.org

Ready to get started?Download WordPress

Forums

class wpdb get_results (2 posts)

  1. explor1ng
    Member
    Posted 6 years ago #

    As I'm writing a plugin, I saw in WP 2.3, in wp_db.php wpdb->get_results:

    function get_results($query = null, $output = OBJECT)
    ...
    		if ( $query )
    			$this->query($query);
    		else
    			return null;

    is this temporary or we are not allowed to pass null anymore in WP 2.3?

  2. explor1ng
    Member
    Posted 6 years ago #

    anyone can answer this?

Topic Closed

This topic has been closed to new replies.

About this Topic