From cb9f322f5b128f18482f133491bfc10ac059bafe Mon Sep 17 00:00:00 2001 From: Nick Diego Date: Mon, 16 Oct 2023 11:24:14 -0500 Subject: [PATCH 1/2] Remove noreferrer from Site Link block. --- .../themes/wporg-showcase-2022/src/site-link/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/src/site-link/index.php b/source/wp-content/themes/wporg-showcase-2022/src/site-link/index.php index 93c04892..1e93585c 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/site-link/index.php +++ b/source/wp-content/themes/wporg-showcase-2022/src/site-link/index.php @@ -39,7 +39,7 @@ function render( $attributes, $content, $block ) { $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'external-link' ) ); return sprintf( - '

%3$s

', + '

%3$s

', $wrapper_attributes, esc_url( $domain ), esc_html( $pretty_domain ) From 71c45ae8d0a8a5ca8c499f8924aac3761aa3295c Mon Sep 17 00:00:00 2001 From: Nick Diego Date: Mon, 16 Oct 2023 20:39:17 -0500 Subject: [PATCH 2/2] Remove noreferrer from Site Meta List block. --- .../themes/wporg-showcase-2022/src/site-meta-list/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/wp-content/themes/wporg-showcase-2022/src/site-meta-list/index.php b/source/wp-content/themes/wporg-showcase-2022/src/site-meta-list/index.php index 3794bf6a..bed07189 100644 --- a/source/wp-content/themes/wporg-showcase-2022/src/site-meta-list/index.php +++ b/source/wp-content/themes/wporg-showcase-2022/src/site-meta-list/index.php @@ -140,7 +140,7 @@ function get_value( $type, $key, $post_id ) { $value = get_the_date( 'F Y', $post_id ); } else if ( 'domain' === $key ) { // Domain uses shortcodes to output pretty format. - $value = do_shortcode( '[pretty_domain]' ); + $value = do_shortcode( '[pretty_domain]' ); } else if ( 'post_title' === $key ) { $value = sprintf( '%s', get_permalink( $post_id ), get_the_title( $post_id ) ); }