X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/699231ae09f7057a4d0000cdf32e50a3df6a04ca..2394dc71e94f8323dc422e89f9841959de78d328:/wp-includes/locale.php?ds=sidebyside diff --git a/wp-includes/locale.php b/wp-includes/locale.php index e69cbf5d..1b529bae 100644 --- a/wp-includes/locale.php +++ b/wp-includes/locale.php @@ -25,7 +25,7 @@ class WP_Locale { * Stores the translated strings for the one character weekday names. * * There is a hack to make sure that Tuesday and Thursday, as well - * as Sunday and Saturday don't conflict. See init() method for more. + * as Sunday and Saturday, don't conflict. See init() method for more. * * @see WP_Locale::init() for how to handle the hack. * @@ -65,7 +65,7 @@ class WP_Locale { /** * Stores the translated strings for 'am' and 'pm'. * - * Also the capalized versions. + * Also the capitalized versions. * * @since 2.1.0 * @var array @@ -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(); }