mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-06 23:52:28 +01:00
Add timezone_string to populate_options. Props hakre. fixes #9706
git-svn-id: http://svn.automattic.com/wordpress/trunk@11264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6fe87c07bc
commit
09dd9cf338
@ -303,7 +303,10 @@ function populate_options() {
|
||||
'sticky_posts' => array(),
|
||||
'widget_categories' => array(),
|
||||
'widget_text' => array(),
|
||||
'widget_rss' => array()
|
||||
'widget_rss' => array(),
|
||||
|
||||
// 2.8
|
||||
'timezone_string' => ''
|
||||
);
|
||||
|
||||
// Set autoload to no for these options
|
||||
|
@ -47,6 +47,12 @@ wp_unregister_GLOBALS();
|
||||
|
||||
unset( $wp_filter, $cache_lastcommentmodified, $cache_lastpostdate );
|
||||
|
||||
function wp_register_REQUEST() {
|
||||
$_REQUEST = array_merge($_GET, $_POST);
|
||||
}
|
||||
|
||||
wp_register_REQUEST();
|
||||
|
||||
/**
|
||||
* The $blog_id global, which you can change in the config allows you to create a simple
|
||||
* multiple blog installation using just one WordPress and changing $blog_id around.
|
||||
|
Loading…
Reference in New Issue
Block a user