mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user