Make WordPress Core


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

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

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

    r17604 r17771  
    457457
    458458        /**
    459          * PHP4 Constructor - Sets up the object properties.
     459         * Constructor - Sets up the object properties.
    460460         *
    461461         * Retrieves the userdata and then assigns all of the data keys to direct
    … …  
    471471         * @return WP_User
    472472         */
    473         function WP_User( $id, $name = '', $blog_id = '' ) {
     473        function __construct( $id, $name = '', $blog_id = '' ) {
    474474
    475475                if ( empty( $id ) && empty( $name ) )
Note: See TracChangeset for help on using the changeset viewer.