Specify number of accepted args.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-09-08 23:18:03 +00:00
parent 5898bcca41
commit 9e240a859f
2 changed files with 6 additions and 11 deletions

View File

@@ -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);
?>