WordPress.org

Make WordPress Core


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

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

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

    r14404 r17771  
    315315
    316316    /**
    317      * PHP4 style constructor which calls helper methods to set up object variables
     317     * Constructor which calls helper methods to set up object variables
    318318     *
    319319     * @uses WP_Locale::init()
     
    323323     * @return WP_Locale
    324324     */
    325     function WP_Locale() {
     325    function __construct() {
    326326        $this->init();
    327327        $this->register_globals();
Note: See TracChangeset for help on using the changeset viewer.