]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/locale.php
Wordpress 3.2.1
[autoinstalls/wordpress.git] / wp-includes / locale.php
index e69cbf5d29396966e9fb3773aba8d114f1c42c60..dc3ede6f2566bfe2e77928d537c9632ba37d82d9 100644 (file)
@@ -314,7 +314,7 @@ class WP_Locale {
        }
 
        /**
-        * PHP4 style constructor which calls helper methods to set up object variables
+        * Constructor which calls helper methods to set up object variables
         *
         * @uses WP_Locale::init()
         * @uses WP_Locale::register_globals()
@@ -322,7 +322,7 @@ class WP_Locale {
         *
         * @return WP_Locale
         */
-       function WP_Locale() {
+       function __construct() {
                $this->init();
                $this->register_globals();
        }