Constructor cleanup. Props ocean90. fixes #16768

git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2011-04-29 20:05:12 +00:00
parent 54822700b8
commit 9730cb8d15
33 changed files with 54 additions and 122 deletions
+2 -2
View 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();
}