From 45c4bab52ad7e81cc1e334d84bc7299a557eeef6 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Mon, 5 Dec 2022 18:37:12 +0100 Subject: [PATCH] add missing escapings props @akirk --- templates/settings.php | 21 ++++++++++----------- templates/welcome.php | 2 +- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/templates/settings.php b/templates/settings.php index b70ee13..5f8fddb 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -13,14 +13,13 @@

', - \esc_url_raw( \admin_url( '/wp-admin/site-health.php' ) ) + // translators: + \__( 'If you have problems using this plugin, please check the Site Health to ensure that your site is compatible and/or use the "Help" tab (in the top right of the settings pages).', 'activitypub' ), + \esc_url_raw( \admin_url( 'site-health.php' ) ) ), - '' + 'default' ); ?>

@@ -55,7 +54,7 @@ -

- +

@@ -65,14 +64,14 @@
  • %excerpt% -
  • %permalink% -
  • -
  • %shortlink% - ', '' ); ?>
  • +
  • %shortlink% - Hum, to prettify the Shortlinks', 'activitypub' ), 'default' ); ?>
  • %hashtags% -
  • -

    ', '' ); ?>

    +

    Let me know if you miss a template pattern.', 'activitypub' ), 'default' ); ?>

    @@ -117,7 +116,7 @@

    - +

    @@ -162,7 +161,7 @@

    Disallowed Comment Keys" list.', 'activitypub' ), \esc_attr( \admin_url( 'options-discussion.php#disallowed_keys' ) ) diff --git a/templates/welcome.php b/templates/welcome.php index 28987f9..75387fd 100644 --- a/templates/welcome.php +++ b/templates/welcome.php @@ -36,7 +36,7 @@ \sprintf( // translators: \__( 'If you have problems using this plugin, please check the Site Health to ensure that your site is compatible and/or use the "Help" tab (in the top right of the settings pages).', 'activitypub' ), - \esc_url_raw( admin_url( '/wp-admin/site-health.php' ) ) + \esc_url_raw( admin_url( 'site-health.php' ) ) ), 'default' );