wp/wp-admin/credits.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
child 22 8c2e4d02f4ef
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
    27 				<?php _e( 'Contributors' ); ?>
    27 				<?php _e( 'Contributors' ); ?>
    28 			</h1>
    28 			</h1>
    29 		</div>
    29 		</div>
    30 
    30 
    31 		<div class="about__header-text">
    31 		<div class="about__header-text">
    32 			<?php
    32 			<?php _e( 'Created by a worldwide team of passionate individuals' ); ?>
    33 			printf(
       
    34 				/* translators: %s: Version number. */
       
    35 				__( 'WordPress %s was created by a worldwide team of passionate individuals' ),
       
    36 				$display_version
       
    37 			);
       
    38 			?>
       
    39 		</div>
    33 		</div>
    40 
       
    41 		<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
       
    42 			<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
       
    43 			<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
       
    44 			<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
       
    45 			<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
       
    46 		</nav>
       
    47 	</div>
    34 	</div>
    48 
    35 
    49 	<div class="about__section has-1-column">
    36 	<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
       
    37 		<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
       
    38 		<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
       
    39 		<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
       
    40 		<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
       
    41 		<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
       
    42 	</nav>
       
    43 
       
    44 	<div class="about__section has-1-column has-gutters">
    50 		<div class="column aligncenter">
    45 		<div class="column aligncenter">
    51 			<?php if ( ! $credits ) : ?>
    46 			<?php if ( ! $credits ) : ?>
    52 
    47 
    53 			<p>
    48 			<p>
    54 				<?php
    49 				<?php
    57 					__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ),
    52 					__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals.' ),
    58 					__( 'https://wordpress.org/about/' )
    53 					__( 'https://wordpress.org/about/' )
    59 				);
    54 				);
    60 				?>
    55 				?>
    61 				<br />
    56 				<br />
    62 				<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
    57 				<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
    63 			</p>
    58 			</p>
    64 
    59 
    65 			<?php else : ?>
    60 			<?php else : ?>
    66 
    61 
    67 			<p>
    62 			<p>
    68 				<?php _e( 'Want to see your name in lights on this page?' ); ?>
    63 				<?php _e( 'Want to see your name in lights on this page?' ); ?>
    69 				<br />
    64 				<br />
    70 				<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
    65 				<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
    71 			</p>
    66 			</p>
    72 
    67 
    73 			<?php endif; ?>
    68 			<?php endif; ?>
    74 		</div>
    69 		</div>
    75 	</div>
    70 	</div>
    80 	require_once ABSPATH . 'wp-admin/admin-footer.php';
    75 	require_once ABSPATH . 'wp-admin/admin-footer.php';
    81 	exit;
    76 	exit;
    82 }
    77 }
    83 ?>
    78 ?>
    84 
    79 
    85 	<hr />
    80 	<hr class="is-large" />
    86 
    81 
    87 	<div class="about__section">
    82 	<div class="about__section">
    88 		<div class="column is-edge-to-edge">
    83 		<div class="column is-edge-to-edge">
    89 			<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
    84 			<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
    90 			<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
    85 			<?php wp_credits_section_list( $credits, 'core-developers' ); ?>