diff --git a/core/modules/user/lib/Drupal/user/AccountFormController.php b/core/modules/user/lib/Drupal/user/AccountFormController.php
index ca8e638..9cf378d 100644
--- a/core/modules/user/lib/Drupal/user/AccountFormController.php
+++ b/core/modules/user/lib/Drupal/user/AccountFormController.php
@@ -68,7 +68,7 @@ public function form(array $form, array &$form_state) {
 
       // To skip the current password field, the user must have logged in via a
       // one-time link and have the token in the URL.
-      $pass_reset = isset($_SESSION['pass_reset_' . $account->uid]) && isset($_GET['pass-reset-token']) && ($_GET['pass-reset-token'] == $_SESSION['pass_reset_' . $account->uid]);
+      $pass_reset = isset($_SESSION['pass_reset_' . $account->uid]) && Drupal::request()->request->get('pass-reset-token') == $_SESSION['pass_reset_' . $account->uid]);
       $protected_values = array();
       $current_pass_description = '';
 
diff --git a/core/modules/user/user.admin.inc b/core/modules/user/user.admin.inc
index 49986ba..d96cd5f 100644
--- a/core/modules/user/user.admin.inc
+++ b/core/modules/user/user.admin.inc
@@ -21,7 +21,7 @@
  *   A renderable form array for the respective request.
  */
 function user_admin($callback_arg = '') {
-  $op = isset($_POST['op']) ? $_POST['op'] : $callback_arg;
+  $op = !empty(Drupal::request()->request->get('op')) ? Drupal::request()->request->get('op') : $callback_arg;
 
   switch ($op) {
     case t('Create new account'):
@@ -30,7 +30,7 @@ function user_admin($callback_arg = '') {
       $build['user_register'] = entity_get_form($account, 'register');
       break;
     default:
-      if (!empty($_POST['accounts']) && isset($_POST['operation']) && ($_POST['operation'] == 'cancel')) {
+      if (!empty(Drupal::request()->request->get('accounts')) && Drupal::request()->request->get('operation') == 'cancel')  {
         $build['user_multiple_cancel_confirm'] = drupal_get_form('user_multiple_cancel_confirm');
       }
       else {
diff --git a/core/modules/user/user.pages.inc b/core/modules/user/user.pages.inc
index 5f0cfab..0950532 100644
--- a/core/modules/user/user.pages.inc
+++ b/core/modules/user/user.pages.inc
@@ -203,9 +203,10 @@ function template_preprocess_user(&$variables) {
  */
 function user_edit_cancel_submit($form, &$form_state) {
   $destination = array();
-  if (isset($_GET['destination'])) {
+
+  if (!empty(Drupal::request()->query->get('destination'))) {
     $destination = drupal_get_destination();
-    unset($_GET['destination']);
+    Drupal::request()->query->set('destination', '');
   }
   // Note: We redirect from user/uid/edit to user/uid/cancel to make the tabs disappear.
   $account = $form_state['controller']->getEntity();
