mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 02:04:26 +00:00
Specify number of accepted args.
git-svn-id: https://develop.svn.wordpress.org/trunk@4176 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2075,7 +2075,7 @@ function update_home_siteurl($old_value, $value) {
|
||||
wp_setcookie($user_login, $user_pass_md5, true, get_option('home'), get_option('siteurl'));
|
||||
}
|
||||
|
||||
add_action('update_option_home', 'update_home_siteurl');
|
||||
add_action('update_option_siteurl', 'update_home_siteurl');
|
||||
add_action('update_option_home', 'update_home_siteurl', 10, 2);
|
||||
add_action('update_option_siteurl', 'update_home_siteurl', 10, 2);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user