Help/About: Escape "Contribute" links, for better consistency.

Props SergeyBiryukov, peterwilsoncc.
See #23348.




git-svn-id: https://develop.svn.wordpress.org/trunk@56337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2023-08-01 12:56:40 +00:00
parent eb12d31edc
commit eef800de27
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="column">
<h2><?php _e( 'Shape the future of the web with WordPress' ); ?></h2>
<p><?php _e( 'Finding the area that aligns with your skills and interests is the first step toward meaningful contribution. With more than 20 Make WordPress teams working on different parts of the open source WordPress project, there&#8217;s a place for everyone, no matter what your skill set is.' ); ?></p>
<p class="aligncenter"><a href="<?php _e( 'https://make.wordpress.org/contribute/' ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
<p class="aligncenter"><a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
</div>
</div>

View File

@ -60,7 +60,7 @@ $credits = wp_credits();
);
?>
<br />
<a href="<?php _e( 'https://make.wordpress.org/contribute/' ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php else : ?>
@ -68,7 +68,7 @@ $credits = wp_credits();
<p>
<?php _e( 'Want to see your name in lights on this page?' ); ?>
<br />
<a href="<?php _e( 'https://make.wordpress.org/contribute/' ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php endif; ?>