wp_get_password_hint

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

WordPress Version: 4.6

/**
 * Gets the text suggesting how to create strong passwords.
 *
 * @since 4.1.0
 *
 * @return string The password hint text.
 */
function wp_get_password_hint()
{
    $hint = __('Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).');
    /**
     * Filters the text describing the site's password complexity policy.
     *
     * @since 4.1.0
     *
     * @param string $hint The password hint text.
     */
    return apply_filters('password_hint', $hint);
}

WordPress Version: 4.3

/**
 * Gets the text suggesting how to create strong passwords.
 *
 * @since 4.1.0
 *
 * @return string The password hint text.
 */
function wp_get_password_hint()
{
    $hint = __('Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).');
    /**
     * Filter the text describing the site's password complexity policy.
     *
     * @since 4.1.0
     *
     * @param string $hint The password hint text.
     */
    return apply_filters('password_hint', $hint);
}

WordPress Version: 4.1

/**
 * Gets the text suggesting how to create strong passwords.
 *
 * @since 4.1.0
 *
 * @return string The password hint text.
 */
function wp_get_password_hint()
{
    $hint = __('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).');
    /**
     * Filter the text describing the site's password complexity policy.
     *
     * @since 4.1.0
     *
     * @param string $hint The password hint text.
     */
    return apply_filters('password_hint', $hint);
}