Correct default value and inline description for $meta argument. see #22187.

git-svn-id: http://core.svn.wordpress.org/trunk@24262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-05-15 17:54:02 +00:00
parent 53d52e7cd5
commit 3be755f28b

View File

@ -288,9 +288,9 @@ function validate_another_blog_signup() {
* @param string $path The site root path * @param string $path The site root path
* @param string $user_name The username * @param string $user_name The username
* @param string $user_email The user's email address * @param string $user_email The user's email address
* @param string $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup() * @param array $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup()
*/ */
function confirm_another_blog_signup($domain, $path, $blog_title, $user_name, $user_email = '', $meta = '') { function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = array() ) {
?> ?>
<h2><?php printf( __( 'The site %s is yours.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2> <h2><?php printf( __( 'The site %s is yours.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2>
<p> <p>
@ -488,7 +488,7 @@ function validate_blog_signup() {
* @param string $blog_title The new site title * @param string $blog_title The new site title
* @param string $user_name The user's username * @param string $user_name The user's username
* @param string $user_email The user's email address * @param string $user_email The user's email address
* @param string $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup() * @param array $meta Any additional meta from the 'add_signup_meta' filter in validate_blog_signup()
*/ */
function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array() ) { function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array() ) {
?> ?>