diff --git a/core/modules/views/src/Plugin/views/display/Block.php b/core/modules/views/src/Plugin/views/display/Block.php index d2bfe26dec4e740162a27ac5a3844cc2dd6ce8cf..391046c7bc9d873bea0ecab2f3473739204d49e2 100644 --- a/core/modules/views/src/Plugin/views/display/Block.php +++ b/core/modules/views/src/Plugin/views/display/Block.php @@ -173,7 +173,7 @@ public function optionsSummary(&$categories, &$options) { $options['block_hide_empty'] = array( 'category' => 'other', 'title' => $this->t('Hide block if the view output is empty'), - 'value' => $this->getOption('block_hide_empty') ? $this->t('Hide') : $this->t('Show'), + 'value' => $this->getOption('block_hide_empty') ? $this->t('Yes') : $this->t('No'), ); } diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php index bf52fb9fc86d0da48cfa26d17ceb44e4a74e9999..0bc5134461ae9d0d94951121685dff6708071629 100644 --- a/core/modules/views/src/Plugin/views/query/Sql.php +++ b/core/modules/views/src/Plugin/views/query/Sql.php @@ -203,7 +203,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { $form['disable_sql_rewrite'] = array( '#title' => $this->t('Disable SQL rewriting'), - '#description' => $this->t('Disabling SQL rewriting will disable node_access checks as well as other modules that implement hook_query_alter().'), + '#description' => $this->t('Disabling SQL rewriting will omit all query tags, i. e. disable node access checks as well as override hook_query_alter() implementations in other modules.'), '#type' => 'checkbox', '#default_value' => !empty($this->options['disable_sql_rewrite']), '#suffix' => '<div class="messages messages--warning sql-rewrite-warning js-hide">' . $this->t('WARNING: Disabling SQL rewriting means that node access security is disabled. This may allow users to see data they should not be able to see if your view is misconfigured. Use this option only if you understand and accept this security risk.') . '</div>',