diff --git a/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php b/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
index b05cf03..5843f5b 100644
--- a/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
+++ b/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
@@ -88,8 +88,7 @@ public function blockForm($form, FormStateInterface $form_state) {
// Provide links to the theme settings pages if the user has access.
$system_theme_settings_url = Url::fromRoute('system.theme_settings');
- $block_theme_settings_url = Url::fromRoute('system.theme_settings_theme');
- $block_theme_settings_url->setRouteParameter('theme', $theme);
+ $block_theme_settings_url = Url::fromRoute('system.theme_settings_theme', ['theme' => $theme]);
if ($system_theme_settings_url->access() && $block_theme_settings_url->access()) {
$form['block_branding']['use_site_logo']['#description'] = $this->t('Defined on the Appearance Settings or Theme Settings page.', [
':appearance' => $system_theme_settings_url->toString(),
@@ -111,7 +110,7 @@ public function blockForm($form, FormStateInterface $form_state) {
// Provide link to the site settings page if the user has access.
$site_settings_url = Url::fromRoute('system.site_information_settings');
if ($site_settings_url->access()) {
- $description = $this->t('Defined on the Basic site settings page.', [
+ $description = $this->t('Defined on the Site Information page.', [
':site-settings' => $site_settings_url->toString(),
]);
$form['block_branding']['use_site_name']['#description'] = $description;