diff --git a/browsehappy.com/public_html/functions.php b/browsehappy.com/public_html/functions.php index 2fe3a5adf3..ea95f1d981 100644 --- a/browsehappy.com/public_html/functions.php +++ b/browsehappy.com/public_html/functions.php @@ -268,21 +268,24 @@ function browsehappy_browser_notice() {
-

- + +

+ -

+

-

+

-

- -

-

+ +

+ +

+

-

-

-

+ +

+

+

Click here to change the language to English.', 'browsehappy' ), '/?locale=en' ); + printf( wp_kses_post( __( 'Browse Happy is also available in English. Click here to change the language to English.', 'browsehappy' ) ), '/?locale=en' ); ?>

- <?php _e( 'Browse Happy', 'browsehappy' ); ?> + <?php esc_html_e( 'Browse Happy', 'browsehappy' ); ?> @@ -34,8 +34,8 @@
-

Happy', 'browsehappy' ); ?>

-

Upgrade your browser today!', 'browsehappy' ); ?>

+

Happy', 'browsehappy' ) ); ?>

+

Upgrade your browser today!', 'browsehappy' ) ); ?>

@@ -47,8 +47,9 @@

name; ?>

info; ?>

-

' . apply_filters( 'get_browsehappy_version', $browser ) . '' ); ?>

-

+ +

' . esc_html( apply_filters( 'get_browsehappy_version', $browser ) ) . '' ); ?>

+

@@ -59,12 +60,12 @@ diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/archive-forum.php b/buddypress.org/public_html/wp-content/themes/bb-base/archive-forum.php index 4e11a3581a..ca99eebe00 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/archive-forum.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/archive-forum.php @@ -1,6 +1,6 @@ -

+

diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/archive.php b/buddypress.org/public_html/wp-content/themes/bb-base/archive.php index 1b55a7029b..bf7332450c 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/archive.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/archive.php @@ -7,10 +7,11 @@

@@ -25,7 +26,7 @@ 'before_page_number' => '' . __( 'Page', 'bborg' ) . ' ', ) ); else : ?> -

+

-

+

diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-merge.php b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-merge.php index a6b0907436..0af194ef3e 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-merge.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-merge.php @@ -21,25 +21,26 @@
- + +
-

-

+

+

-

+

- +
false, 'post_parent' => bbp_get_topic_forum_id( bbp_get_topic_id() ), 'post__not_in' => array( bbp_get_topic_id() ) ) ) ) : ?> - + - + @@ -65,24 +66,24 @@
- +
-
+
-
+
-
+
@@ -90,11 +91,11 @@
-

WARNING: This process cannot be undone.', 'bbpress' ); ?>

+

WARNING: This process cannot be undone.', 'bbpress' ) ); ?>

- +
@@ -107,7 +108,7 @@
-
+
diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-split.php b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-split.php index 1d507892bf..328df5adc6 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-split.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic-split.php @@ -21,24 +21,26 @@
- + +
-

+

-

+

- +
- + +
@@ -46,7 +48,7 @@
- +
- +
-
+
-
+
-
+
@@ -93,11 +95,11 @@
-

WARNING: This process cannot be undone.', 'bbpress' ); ?>

+

WARNING: This process cannot be undone.', 'bbpress' ) ); ?>

- +
@@ -110,7 +112,7 @@
-
+
diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic.php b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic.php index 9c73227605..42fe6370ef 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/form-topic.php @@ -21,9 +21,11 @@ @@ -33,9 +35,9 @@
-

-

-

trac ticket with detailed duplication steps.', 'bbporg' ); ?>

+

+

+

trac ticket with detailed duplication steps.', 'bbporg' ) ); ?>

@@ -43,7 +45,7 @@
-

+

@@ -51,7 +53,7 @@
-

+

@@ -65,7 +67,8 @@

-
+ +

@@ -76,7 +79,7 @@

-
+

@@ -91,7 +94,7 @@

-
+

@@ -100,7 +103,7 @@

-
+
/>

@@ -111,7 +114,7 @@

-
+
bbp_get_form_topic_forum() ) ); ?>

@@ -125,7 +128,7 @@

-
+
@@ -144,11 +147,11 @@ - + - +

@@ -164,11 +167,11 @@
/> -
+
-
+
@@ -183,7 +186,7 @@ - + @@ -206,7 +209,8 @@
-

+ +

@@ -214,7 +218,7 @@
-

+

diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-forums.php b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-forums.php index 1eb3b6289f..265b384dfd 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-forums.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-forums.php @@ -5,8 +5,8 @@
    • -
    • -
    • +
    • +
  • diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php index b9efb64080..39a0ba9223 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php @@ -46,7 +46,8 @@ - '14' ) ) ); ?> + + '14' ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- bbPress builds this markup; wp_kses_post() would strip the avatar's srcset and decoding attributes. ?> diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/buddypress/activity/index.php b/buddypress.org/public_html/wp-content/themes/bb-base/buddypress/activity/index.php index 63f3bb7490..bad1c8bf0c 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/buddypress/activity/index.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/buddypress/activity/index.php @@ -16,7 +16,7 @@
    @@ -5,20 +13,20 @@ diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/functions.php b/buddypress.org/public_html/wp-content/themes/bb-base/functions.php index fc4e337821..c012e09e1d 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/functions.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/functions.php @@ -77,8 +77,8 @@ function bb_base_topic_search_form() { @@ -91,8 +91,8 @@ function bb_base_reply_search_form() { @@ -105,8 +105,8 @@ function bb_base_plugin_search_form() { @@ -176,11 +176,13 @@ function bb_base_single_topic_description() { ?>
  • %s', + printf( + /* translators: %s: Forum title. */ + esc_html__( 'In: %s', 'bborg' ), + sprintf( + '%s', esc_url( bbp_get_forum_permalink( bbp_get_topic_forum_id() ) ), - bbp_get_topic_forum_title() + esc_html( bbp_get_topic_forum_title() ) ) ); ?>
  • @@ -192,16 +194,25 @@ function bb_base_single_topic_description() {
  • 'name', 'post_id' => $last_reply, 'size' => '15' ) ) + printf( + /* translators: %s: Reply author link. */ + esc_html__( 'Last voice: %s', 'bborg' ), + wp_kses_post( + bbp_get_author_link( + array( + 'type' => 'name', + 'post_id' => $last_reply, + 'size' => '15', + ) + ) + ) ); ?>
  • @@ -242,11 +253,13 @@ function bb_base_single_forum_description() {
  • %s', + printf( + /* translators: %s: Forum title. */ + esc_html__( 'In: %s', 'bborg' ), + sprintf( + '%s', esc_url( bbp_get_forum_permalink( bbp_get_forum_parent_id() ) ), - bbp_get_forum_title( bbp_get_forum_parent_id() ) + esc_html( bbp_get_forum_title( bbp_get_forum_parent_id() ) ) ) ); ?>
  • @@ -259,16 +272,24 @@ function bb_base_single_forum_description() {
  • 'name', 'post_id' => $last_active ) ) + printf( + /* translators: %s: Post author link. */ + esc_html__( 'Last voice: %s', 'bborg' ), + wp_kses_post( + bbp_get_author_link( + array( + 'type' => 'name', + 'post_id' => $last_active, + ) + ) + ) ); ?>
  • diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/header-accessibility.php b/buddypress.org/public_html/wp-content/themes/bb-base/header-accessibility.php index 297a0943d9..2f6c8567cc 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/header-accessibility.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/header-accessibility.php @@ -1,18 +1,26 @@ +
    Skip to:
    -
    -
    -
    -
    +
    +
    +
    +
    -
    -
    +
    +
    -
    +
    %link\n", __( 'Previous Post', 'bbporg' ) ); ?> %link\n", __( 'Next Post', 'bbporg' ) ); ?> -
    +
    diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/image.php b/buddypress.org/public_html/wp-content/themes/bb-base/image.php index 3de976a793..c31faa2825 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/image.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/image.php @@ -14,13 +14,13 @@
    %s', 'bborg' ), get_the_author_posts_link() ); + printf( wp_kses_post( __( 'by %s', 'bborg' ) ), wp_kses_post( get_the_author_posts_link() ) ); ?>
    " . esc_html__( 'Tagged as', 'bborg' ) . "\n\t\t\t\t\t
    ", "
    \t\t\t\t\t
    ", "
    \n" ); ?> @@ -34,7 +34,7 @@
    comment_status ) : - _e( '
    Respond if
    you’d like to leave feedback
    ', 'bbporg' ); + echo wp_kses_post( __( '
    Respond if
    you’d like to leave feedback
    ', 'bbporg' ) ); endif; edit_post_link( esc_html__( 'Edit', 'bbporg' ), "\t\t\t\t\t
    " . esc_html__( 'You can', 'bborg' ) . "
    \n\t\t\t\t\t
    ", "
    \n"); ?> diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/index.php b/buddypress.org/public_html/wp-content/themes/bb-base/index.php index 5ef75c4bd4..54066e5a80 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/index.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/index.php @@ -7,10 +7,11 @@

    @@ -31,7 +32,7 @@ endif; else : ?> -

    +

    diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/page-homepage.php b/buddypress.org/public_html/wp-content/themes/bb-base/page-homepage.php index abc1657c23..089d9515a3 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/page-homepage.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/page-homepage.php @@ -4,7 +4,7 @@ */ get_header(); ?> -

    +

    diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/sidebar.php b/buddypress.org/public_html/wp-content/themes/bb-base/sidebar.php index dea45b14c9..414a574693 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/sidebar.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/sidebar.php @@ -6,7 +6,7 @@
    -

    +

    @@ -15,7 +15,7 @@
    -

    +

    • @@ -25,7 +25,7 @@
      -

      +

      @@ -58,13 +58,13 @@
      -

      +

      -

      +

        $args ) : ?> @@ -77,7 +77,7 @@
      -

      +

      • @@ -85,7 +85,7 @@
      -

      +

      @@ -94,29 +94,29 @@
      -

      +

      -

      +

      -

      +

      -

      +

        false ) ); ?>
      -

      +

      diff --git a/buddypress.org/public_html/wp-content/themes/bb-base/single.php b/buddypress.org/public_html/wp-content/themes/bb-base/single.php index 70a0937a28..924a3c2e96 100644 --- a/buddypress.org/public_html/wp-content/themes/bb-base/single.php +++ b/buddypress.org/public_html/wp-content/themes/bb-base/single.php @@ -2,10 +2,11 @@

      @@ -16,7 +17,7 @@ -

      +

      diff --git a/buddypress.org/public_html/wp-content/themes/bbpress-org/bbpress/form-topic.php b/buddypress.org/public_html/wp-content/themes/bbpress-org/bbpress/form-topic.php index 1bed7babcd..c19b45aff6 100644 --- a/buddypress.org/public_html/wp-content/themes/bbpress-org/bbpress/form-topic.php +++ b/buddypress.org/public_html/wp-content/themes/bbpress-org/bbpress/form-topic.php @@ -21,9 +21,11 @@ @@ -33,10 +35,10 @@
      -

      -

      -

      trac ticket with detailed duplication steps.', 'bbporg' ); ?>

      -

      +

      +

      +

      trac ticket with detailed duplication steps.', 'bbporg' ) ); ?>

      +

      @@ -44,7 +46,7 @@
      -

      +

      @@ -52,7 +54,7 @@
      -

      +

      @@ -66,7 +68,8 @@

      -
      + +

      @@ -77,7 +80,7 @@

      -
      +

      @@ -92,7 +95,7 @@

      -
      +

      @@ -101,7 +104,7 @@

      -
      +
      />

      @@ -112,7 +115,7 @@

      -
      +
      bbp_get_form_topic_forum() ) ); ?>

      @@ -126,7 +129,7 @@

      -
      +
      @@ -145,11 +148,11 @@ - + - +

      @@ -165,11 +168,11 @@
      /> -
      +
      -
      +
      @@ -184,7 +187,7 @@ - + @@ -207,7 +210,8 @@
      -

      + +

      @@ -215,7 +219,7 @@
      -

      +

      diff --git a/buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php b/buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php index 4aacd7f63e..e034765c83 100644 --- a/buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php +++ b/buddypress.org/public_html/wp-content/themes/bbpress-org/header-front.php @@ -1,9 +1,9 @@
      -

      -

      +

      +

      - +
      @@ -11,31 +11,31 @@
      -

      +

      <?php esc_attr_e( 'Simple Setup', 'bbporg' ); ?> - Easy to moderate.
      Fast, and clean.', 'bbporg' ); ?>
      + Easy to moderate.
      Fast, and clean.', 'bbporg' ) ); ?>

      -

      +

      <?php esc_attr_e( 'Fully Integrated', 'bbporg' ); ?> - One unified admin area.
      One click install.', 'bbporg' ); ?>
      + One unified admin area.
      One click install.', 'bbporg' ) ); ?>

      -

      +

      <?php esc_attr_e( 'Single Installation', 'bbporg' ); ?> - installation walks you
      through your options.', 'bbporg' ); ?>
      + installation walks you
      through your options.', 'bbporg' ) ); ?>

      -

      +

      <?php esc_attr_e( 'Multisite Forums', 'bbporg' ); ?> - into sections. Allow your
      users to create content.', 'bbporg' ); ?>
      + into sections. Allow your
      users to create content.', 'bbporg' ) ); ?>

      diff --git a/buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php b/buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php index b88df41b8e..ca97c82443 100644 --- a/buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php +++ b/buddypress.org/public_html/wp-content/themes/bbpress-org/page-plugins.php @@ -15,7 +15,9 @@ info['results'] ) @@ -50,15 +52,19 @@
      version ) ) : ?> -
      version ) ); ?>
      + +
      version ) ); ?>
      requires ) ) : ?> -
      requires ) ); ?>
      + +
      requires ) ); ?>
      tested ) ) : ?> -
      tested ) ); ?>
      + +
      tested ) ); ?>
      -
      rating_html ); // raw html - do not escape ?>
      + +
      rating_html ) ); ?>

      @@ -74,7 +80,9 @@ info['results'] ) diff --git a/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php b/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php index d929251953..422cc167b0 100644 --- a/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php +++ b/buddypress.org/public_html/wp-content/themes/bbpress-org/sidebar.php @@ -16,7 +16,7 @@

      -

      +

      @@ -25,17 +25,17 @@
      -

      +

        -
      • -
      • +
      • +
      -

      +

      @@ -68,13 +68,13 @@
      -

      +

      -

      +

        $args ) : ?> @@ -87,15 +87,15 @@
      -

      +

        -
      • -
      • +
      • +
      -

      +

      @@ -106,7 +106,7 @@
      -

      +

      @@ -115,14 +115,14 @@
      -

      +

        false ) ); ?>
      -

      +

      diff --git a/buddypress.org/public_html/wp-content/themes/bporg-developer/header.php b/buddypress.org/public_html/wp-content/themes/bporg-developer/header.php index bdf3d6ad7f..448ef800fc 100644 --- a/buddypress.org/public_html/wp-content/themes/bporg-developer/header.php +++ b/buddypress.org/public_html/wp-content/themes/bporg-developer/header.php @@ -32,7 +32,7 @@