Fix typos in documentation (wp-admin/). See #18560.

git-svn-id: https://develop.svn.wordpress.org/trunk@18632 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jon Cave
2011-09-03 14:18:10 +00:00
parent bcd9d1a36e
commit 60d321b14b
20 changed files with 47 additions and 47 deletions
+2 -2
View File
@@ -196,7 +196,7 @@ function edit_user( $user_id = 0 ) {
*
* Simple function who's main purpose is to allow filtering of the
* list of roles in the $wp_roles object so that plugins can remove
* innappropriate ones depending on the situation or user making edits.
* inappropriate ones depending on the situation or user making edits.
* Specifically because without filtering anyone with the edit_users
* capability can edit others to be administrators, even if they are
* only editors or authors. This filter allows admins to delegate
@@ -329,7 +329,7 @@ function default_password_nag_handler($errors = false) {
if ( ! get_user_option('default_password_nag') ) //Short circuit it.
return;
//get_user_setting = JS saved UI setting. else no-js-falback code.
//get_user_setting = JS saved UI setting. else no-js-fallback code.
if ( 'hide' == get_user_setting('default_password_nag') || isset($_GET['default_password_nag']) && '0' == $_GET['default_password_nag'] ) {
delete_user_setting('default_password_nag');
update_user_option($user_ID, 'default_password_nag', false, true);