Make WordPress Core

Changeset 17771 for trunk/wp-app.php


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

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r16699 r17771  
    217217
    218218    /**
    219      * PHP4 constructor - Sets up object properties.
     219     * Constructor - Sets up object properties.
    220220     *
    221221     * @since 2.2.0
    222222     * @return AtomServer
    223223     */
    224     function AtomServer() {
     224    function __construct() {
    225225
    226226        $this->script_name = array_pop( $var_by_ref = explode( '/', $_SERVER['SCRIPT_NAME'] ) );
Note: See TracChangeset for help on using the changeset viewer.