WP_Locale::register_globals()

In this article

This method has been deprecated. For backward compatibility only instead.

Global variables are deprecated.

Description

For backward compatibility only.

Source

public function register_globals() {
	$GLOBALS['weekday']         = $this->weekday;
	$GLOBALS['weekday_initial'] = $this->weekday_initial;
	$GLOBALS['weekday_abbrev']  = $this->weekday_abbrev;
	$GLOBALS['month']           = $this->month;
	$GLOBALS['month_abbrev']    = $this->month_abbrev;
}

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.