wp/wp-admin/credits.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    19 $credits = wp_credits();
    19 $credits = wp_credits();
    20 ?>
    20 ?>
    21 <div class="wrap about__container">
    21 <div class="wrap about__container">
    22 
    22 
    23 	<div class="about__header">
    23 	<div class="about__header">
    24 		<div class="about__header-text">
    24 		<div class="about__header-title">
    25 			<?php _e( 'Speed. Search. Security.' ); ?>
    25 			<h1>
       
    26 				<?php _e( 'Contributors' ); ?>
       
    27 			</h1>
    26 		</div>
    28 		</div>
    27 
    29 
    28 		<div class="about__header-title">
    30 		<div class="about__header-text">
    29 			<p>
    31 			<?php _e( 'WordPress 5.8 was created by a worldwide team of passionate individuals' ); ?>
    30 				<?php _e( 'WordPress' ); ?>
       
    31 				<span><?php echo $display_version; ?></span>
       
    32 			</p>
       
    33 		</div>
    32 		</div>
    34 
    33 
    35 		<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    34 		<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    36 			<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    35 			<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    37 			<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
    36 			<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
    38 			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    37 			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    39 			<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    38 			<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    40 		</nav>
    39 		</nav>
    41 	</div>
    40 	</div>
    42 
    41 
    43 	<div class="about__section is-feature">
    42 	<div class="about__section has-1-column">
    44 		<div class="column">
    43 		<div class="column aligncenter">
    45 			<h1><?php _e( 'Credits' ); ?></h1>
       
    46 
       
    47 			<?php if ( ! $credits ) : ?>
    44 			<?php if ( ! $credits ) : ?>
    48 
    45 
    49 			<p>
    46 			<p>
    50 				<?php
    47 				<?php
    51 				printf(
    48 				printf(
    52 					/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
    49 					/* translators: 1: https://wordpress.org/about/ */
    53 					__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
    50 					__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ),
    54 					__( 'https://wordpress.org/about/' ),
    51 					__( 'https://wordpress.org/about/' )
    55 					__( 'https://make.wordpress.org/' )
       
    56 				);
    52 				);
    57 				?>
    53 				?>
       
    54 				<br />
       
    55 				<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
    58 			</p>
    56 			</p>
    59 
    57 
    60 			<?php else : ?>
    58 			<?php else : ?>
    61 
    59 
    62 			<p>
    60 			<p>
    63 				<?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?>
    61 				<?php _e( 'Want to see your name in lights on this page?' ); ?>
    64 			</p>
    62 				<br />
    65 			<p>
    63 				<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
    66 				<?php
       
    67 				printf(
       
    68 					/* translators: %s: https://make.wordpress.org/ */
       
    69 					__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
       
    70 					__( 'https://make.wordpress.org/' )
       
    71 				);
       
    72 				?>
       
    73 			</p>
    64 			</p>
    74 
    65 
    75 			<?php endif; ?>
    66 			<?php endif; ?>
    76 		</div>
    67 		</div>
    77 	</div>
    68 	</div>
    85 ?>
    76 ?>
    86 
    77 
    87 	<hr />
    78 	<hr />
    88 
    79 
    89 	<div class="about__section">
    80 	<div class="about__section">
    90 		<div class="column has-subtle-background-color">
    81 		<div class="column is-edge-to-edge">
    91 			<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
    82 			<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
    92 			<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
    83 			<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
    93 			<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
    84 			<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
    94 		</div>
    85 		</div>
    95 	</div>
    86 	</div>