diff options
Diffstat (limited to 'wp-inst/wp-admin/user-edit.php')
| -rw-r--r-- | wp-inst/wp-admin/user-edit.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wp-inst/wp-admin/user-edit.php b/wp-inst/wp-admin/user-edit.php index d6a3cd3..ebb6cfd 100644 --- a/wp-inst/wp-admin/user-edit.php +++ b/wp-inst/wp-admin/user-edit.php @@ -65,7 +65,7 @@ if (!current_user_can('edit_users')) $errors['head'] = __('You do not have permi <p><strong><?php _e('User updated.') ?></strong></p> </div> <?php endif; ?> -<?php if ( count($errors) != 0 ) : ?> +<?php if ( count($errors) != 0 ) { ?> <div class="error"> <ul> <?php @@ -73,7 +73,7 @@ if (!current_user_can('edit_users')) $errors['head'] = __('You do not have permi ?> </ul> </div> -<?php endif; ?> +<?php } else { ?> <div class="wrap"> <h2><?php _e('Edit User'); ?></h2> @@ -233,6 +233,7 @@ if( $invites_list != '' ) ?></table></div><?php } } +} break; } |
