confirm_user_signup

The timeline below displays how wordpress function confirm_user_signup has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Shows a message confirming that the new user has been registered and is awaiting activation.
 *
 * @since MU (3.0.0)
 *
 * @param string $user_name  The username.
 * @param string $user_email The user's email address.
 */
function confirm_user_signup($user_name, $user_email)
{
    ?>
	<h2>
	<?php 
    /* translators: %s: Username. */
    printf(__('%s is your new username'), $user_name);
    ?>
	</h2>
	<p><?php 
    _e('But, before you can start using your new username, <strong>you must activate it</strong>.');
    ?></p>
	<p>
	<?php 
    /* translators: %s: The user email address. */
    printf(__('Check your inbox at %s and click on the given link.'), '<strong>' . $user_email . '</strong>');
    ?>
	</p>
	<p><?php 
    _e('If you do not activate your username within two days, you will have to sign up again.');
    ?></p>
	<?php 
    /** This action is documented in wp-signup.php */
    do_action('signup_finished');
}

WordPress Version: 5.9

/**
 * Shows a message confirming that the new user has been registered and is awaiting activation.
 *
 * @since MU (3.0.0)
 *
 * @param string $user_name  The username.
 * @param string $user_email The user's email address.
 */
function confirm_user_signup($user_name, $user_email)
{
    ?>
	<h2>
	<?php 
    /* translators: %s: Username. */
    printf(__('%s is your new username'), $user_name);
    ?>
	</h2>
	<p><?php 
    _e('But, before you can start using your new username, <strong>you must activate it</strong>.');
    ?></p>
	<p>
	<?php 
    /* translators: %s: Email address. */
    printf(__('Check your inbox at %s and click the link given.'), '<strong>' . $user_email . '</strong>');
    ?>
	</p>
	<p><?php 
    _e('If you do not activate your username within two days, you will have to sign up again.');
    ?></p>
	<?php 
    /** This action is documented in wp-signup.php */
    do_action('signup_finished');
}

WordPress Version: 5.3

/**
 * New user signup confirmation
 *
 * @since MU (3.0.0)
 *
 * @param string $user_name The username
 * @param string $user_email The user's email address
 */
function confirm_user_signup($user_name, $user_email)
{
    ?>
	<h2>
	<?php 
    /* translators: %s: Username. */
    printf(__('%s is your new username'), $user_name);
    ?>
	</h2>
	<p><?php 
    _e('But, before you can start using your new username, <strong>you must activate it</strong>.');
    ?></p>
	<p>
	<?php 
    /* translators: %s: Email address. */
    printf(__('Check your inbox at %s and click the link given.'), '<strong>' . $user_email . '</strong>');
    ?>
	</p>
	<p><?php 
    _e('If you do not activate your username within two days, you will have to sign up again.');
    ?></p>
	<?php 
    /** This action is documented in wp-signup.php */
    do_action('signup_finished');
}

WordPress Version: 5.1

/**
 * New user signup confirmation
 *
 * @since MU (3.0.0)
 *
 * @param string $user_name The username
 * @param string $user_email The user's email address
 */
function confirm_user_signup($user_name, $user_email)
{
    ?>
	<h2>
	<?php 
    /* translators: %s: username */
    printf(__('%s is your new username'), $user_name);
    ?>
	</h2>
	<p><?php 
    _e('But, before you can start using your new username, <strong>you must activate it</strong>.');
    ?></p>
	<p>
	<?php 
    /* translators: %s: email address */
    printf(__('Check your inbox at %s and click the link given.'), '<strong>' . $user_email . '</strong>');
    ?>
	</p>
	<p><?php 
    _e('If you do not activate your username within two days, you will have to sign up again.');
    ?></p>
	<?php 
    /** This action is documented in wp-signup.php */
    do_action('signup_finished');
}

WordPress Version: 4.9

/**
 * New user signup confirmation
 *
 * @since MU (3.0.0)
 *
 * @param string $user_name The username
 * @param string $user_email The user's email address
 */
function confirm_user_signup($user_name, $user_email)
{
    ?>
	<h2><?php 
    /* translators: %s: username */
    printf(__('%s is your new username'), $user_name);
    ?></h2>
	<p><?php 
    _e('But, before you can start using your new username, <strong>you must activate it</strong>.');
    ?></p>
	<p><?php 
    /* translators: %s: email address */
    printf(__('Check your inbox at %s and click the link given.'), '<strong>' . $user_email . '</strong>');
    ?></p>
	<p><?php 
    _e('If you do not activate your username within two days, you will have to sign up again.');
    ?></p>
	<?php 
    /** This action is documented in wp-signup.php */
    do_action('signup_finished');
}

WordPress Version: 4.4

/**
 * New user signup confirmation
 *
 * @since MU
 *
 * @param string $user_name The username
 * @param string $user_email The user's email address
 */
function confirm_user_signup($user_name, $user_email)
{
    ?>
	<h2><?php 
    /* translators: %s: username */
    printf(__('%s is your new username'), $user_name);
    ?></h2>
	<p><?php 
    _e('But, before you can start using your new username, <strong>you must activate it</strong>.');
    ?></p>
	<p><?php 
    /* translators: %s: email address */
    printf(__('Check your inbox at %s and click the link given.'), '<strong>' . $user_email . '</strong>');
    ?></p>
	<p><?php 
    _e('If you do not activate your username within two days, you will have to sign up again.');
    ?></p>
	<?php 
    /** This action is documented in wp-signup.php */
    do_action('signup_finished');
}

WordPress Version: 3.7

/**
 * New user signup confirmation
 *
 * @since MU
 *
 * @param string $user_name The username
 * @param string $user_email The user's email address
 */
function confirm_user_signup($user_name, $user_email)
{
    ?>
	<h2><?php 
    printf(__('%s is your new username'), $user_name);
    ?></h2>
	<p><?php 
    _e('But, before you can start using your new username, <strong>you must activate it</strong>.');
    ?></p>
	<p><?php 
    printf(__('Check your inbox at <strong>%s</strong> and click the link given.'), $user_email);
    ?></p>
	<p><?php 
    _e('If you do not activate your username within two days, you will have to sign up again.');
    ?></p>
	<?php 
    /** This action is documented in wp-signup.php */
    do_action('signup_finished');
}