Help/About: Move "Get involved" link on Credits screen to the top of the page for better visibility.

Props bridgetwillard, desrosj.
See #23348.

git-svn-id: https://develop.svn.wordpress.org/trunk@43032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-04-30 03:15:23 +00:00
parent 0041e393c1
commit a1327b5eb6
1 changed files with 6 additions and 10 deletions

View File

@ -53,6 +53,12 @@ if ( ! $credits ) {
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n"; echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
echo '<p>' . sprintf(
/* translators: %s: https://make.wordpress.org/ */
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
) . '</p>';
foreach ( $credits['groups'] as $group_slug => $group_data ) { foreach ( $credits['groups'] as $group_slug => $group_data ) {
if ( $group_data['name'] ) { if ( $group_data['name'] ) {
if ( 'Translators' == $group_data['name'] ) { if ( 'Translators' == $group_data['name'] ) {
@ -104,16 +110,6 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
} }
?> ?>
<p class="clear">
<?php
/* translators: %s: https://make.wordpress.org/ */
printf(
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
__( 'https://make.wordpress.org/' )
);
?>
</p>
</div> </div>
</div> </div>
<?php <?php