diff --git a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
index fffe084..335e3ab 100644
--- a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
+++ b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
@@ -153,7 +153,7 @@ public function renderExposedForm($block = FALSE) {
    */
   public function query() {
     $view = $this->view;
-    $exposed_data = isset($view->exposed_data) ? $view->exposed_data : [];
+    $exposed_data = $view->getExposedInput();
     $sort_by = isset($exposed_data['sort_by']) ? $exposed_data['sort_by'] : NULL;
     if (!empty($sort_by)) {
       // Make sure the original order of sorts is preserved
diff --git a/core/modules/views/src/ViewExecutable.php b/core/modules/views/src/ViewExecutable.php
index b1861f7..dcef035 100644
--- a/core/modules/views/src/ViewExecutable.php
+++ b/core/modules/views/src/ViewExecutable.php
@@ -1337,20 +1337,20 @@ public function _build($key) {
       if (!empty($handlers[$id]) && is_object($handlers[$id])) {
         $multiple_exposed_input = [0 => NULL];
         if ($handlers[$id]->multipleExposedInput()) {
-          $multiple_exposed_input = $handlers[$id]->groupMultipleExposedInput($this->exposed_data);
+          $multiple_exposed_input = $handlers[$id]->groupMultipleExposedInput($this->getExposedInput());
         }
         foreach ($multiple_exposed_input as $group_id) {
           // Give this handler access to the exposed filter input.
-          if (!empty($this->exposed_data)) {
+          if (!empty($this->getExposedInput())) {
             if ($handlers[$id]->isAGroup()) {
-              $converted = $handlers[$id]->convertExposedInput($this->exposed_data, $group_id);
-              $handlers[$id]->storeGroupInput($this->exposed_data, $converted);
+              $converted = $handlers[$id]->convertExposedInput($this->getExposedInput(), $group_id);
+              $handlers[$id]->storeGroupInput($this->getExposedInput(), $converted);
               if (!$converted) {
                 continue;
               }
             }
-            $rc = $handlers[$id]->acceptExposedInput($this->exposed_data);
-            $handlers[$id]->storeExposedInput($this->exposed_data, $rc);
+            $rc = $handlers[$id]->acceptExposedInput($this->getExposedInput());
+            $handlers[$id]->storeExposedInput($this->getExposedInput(), $rc);
             if (!$rc) {
               continue;
             }
