Make WordPress Core


Ignore:
Timestamp:
04/05/2011 05:25:08 PM (15 years ago)
Author:
ryan
Message:

Remove PHP4 constructors. Props hakre. see #16768

File:
1 edited

Legend:

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

    r17546 r17604  
    461461         */
    462462        var $func_call;
    463 
    464         /**
    465          * Connects to the database server and selects a database
    466          *
    467          * PHP4 compatibility layer for calling the PHP5 constructor.
    468          *
    469          * @uses wpdb::__construct() Passes parameters and returns result
    470          * @since 0.71
    471          *
    472          * @param string $dbuser MySQL database user
    473          * @param string $dbpassword MySQL database password
    474          * @param string $dbname MySQL database name
    475          * @param string $dbhost MySQL database host
    476          */
    477         function wpdb( $dbuser, $dbpassword, $dbname, $dbhost ) {
    478                 return $this->__construct( $dbuser, $dbpassword, $dbname, $dbhost );
    479         }
    480463
    481464        /**
Note: See TracChangeset for help on using the changeset viewer.