Make WordPress Core


Ignore:
Timestamp:
04/29/2011 08:05:12 PM (13 years ago)
Author:
ryan
Message:

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r17699 r17771  
    29712971
    29722972    /**
    2973      * PHP4 type constructor.
     2973     * Constructor.
    29742974     *
    29752975     * Sets up the WordPress query, if parameter is not empty.
     
    29812981     * @return WP_Query
    29822982     */
    2983     function WP_Query($query = '') {
     2983    function __construct($query = '') {
    29842984        if ( ! empty($query) ) {
    29852985            $this->query($query);
Note: See TracChangeset for help on using the changeset viewer.