default_password_nag [ WordPress Function ]
default_password_nag ( No parameters )
| Defined at: |
|
Benzer Fonksiyonlar: default_password_nag_handler, default_password_nag_edit_user, reset_password, wp_set_password, wp_generate_password
No description yet.
Source
<?php
function default_password_nag() {
global $pagenow;
if ( 'profile.php' == $pagenow || ! get_user_option('default_password_nag') ) //Short circuit it.
return;
echo '<div class="error default-password-nag">';
echo '<p>';
echo '<strong>' . __('Notice:') . '</strong> ';
_e('You’re using the auto-generated password for your account. Would you like to change it to something easier to remember?');
echo '</p><p>';
printf( '<a href="%s">' . __('Yes, take me to my profile page') . '</a> | ', admin_url('profile.php') . '#password' );
printf( '<a href="%s" id="default-password-nag-no">' . __('No thanks, do not remind me again') . '</a>', '?default_password_nag=0' );
echo '</p></div>';
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- default_password_nag (WordPress Function) - WPSeek.com
WordPress lookup for default_password_nag, a WordPress Function. wpseek. com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - Remove WordPress 2.8′s Default Password Nag | Australian ...
Jul 19, 2009 ... WordPress 2.8 includes a Password Nag for when you're using a default generated password. This was done intentionally to help forgetful ...
dd32.id.au - default_password_nag | A HitchHackers guide through WordPress
Feb 11, 2011 ... function default_password_nag() { global $pagenow; if ( 'profile.php' == $ pagenow || ! get_user_option('default_password_nag') ) //Short circuit ...
hitchhackerguide.com - #12143 (Default Password Nag doesnt apply to newly registered ...
The default password nag currently only applies to auto-generated accounts, and password resets. It does not apply to newly registered users through ...
core.trac.wordpress.org