X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/61343b82c4f0da4c68e4c6373daafff4a81efdd1..4713a14935b83517997f3c88f808eb41da55033d:/wp-admin/users.php diff --git a/wp-admin/users.php b/wp-admin/users.php index e807487a..1dfd73cd 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -7,7 +7,7 @@ */ /** WordPress Administration Bootstrap */ -require_once( './admin.php' ); +require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'list_users' ) ) wp_die( __( 'Cheatin’ uh?' ) ); @@ -43,9 +43,9 @@ $help = '

' . __('Hovering over a row in the users list will display action li '

  • ' . __('Edit takes you to the editable profile screen for that user. You can also reach that screen by clicking on the username.') . '
  • '; if ( is_multisite() ) - $help .= '
  • ' . __( 'Remove allows you to remove a user from your site. It does not delete their posts. You can also remove multiple users at once by using Bulk Actions.' ) . '
  • '; + $help .= '
  • ' . __( 'Remove allows you to remove a user from your site. It does not delete their content. You can also remove multiple users at once by using Bulk Actions.' ) . '
  • '; else - $help .= '
  • ' . __( 'Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their posts. You can also delete multiple users at once by using Bulk Actions.' ) . '
  • '; + $help .= '
  • ' . __( 'Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using Bulk Actions.' ) . '
  • '; $help .= ''; @@ -60,7 +60,7 @@ get_current_screen()->set_help_sidebar( '

    ' . __('For more information:') . '

    ' . '

    ' . __('Documentation on Managing Users') . '

    ' . '

    ' . __('Descriptions of Roles and Capabilities') . '

    ' . - '

    ' . __('Support Forums') . '

    ' + '

    ' . __('Support Forums') . '

    ' ); if ( empty($_REQUEST) ) { @@ -211,14 +211,13 @@ case 'delete': add_action( 'admin_head', 'delete_users_add_js' ); - include ('admin-header.php'); + include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    -

    @@ -241,12 +240,12 @@ case 'delete': ?> -

    +

    • +
    • - ' . __( 'Attribute all posts to:' ) . ' '; + ' . __( 'Attribute all content to:' ) . ' '; wp_dropdown_users( array( 'name' => 'reassign_user', 'exclude' => array_diff( $userids, array($current_user->ID) ) ) ); ?>
    @@ -316,14 +315,13 @@ case 'remove': else $userids = $_REQUEST['users']; - include ('admin-header.php'); + include( ABSPATH . 'wp-admin/admin-header.php' ); ?>
    -

      @@ -368,7 +366,7 @@ default: exit; } - include('./admin-header.php'); + include( ABSPATH . 'wp-admin/admin-header.php' ); $messages = array(); if ( isset($_GET['update']) ) : @@ -425,7 +423,6 @@ if ( ! empty($messages) ) { } ?>
      -