2011-05-11 21:36:05 -04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Credits administration panel.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** WordPress Administration Bootstrap */
|
2013-09-24 20:18:11 -04:00
|
|
|
require_once( dirname( __FILE__ ) . '/admin.php' );
|
2015-09-11 00:55:26 -04:00
|
|
|
require_once( dirname( __FILE__ ) . '/includes/credits.php' );
|
2011-05-11 21:36:05 -04:00
|
|
|
|
|
|
|
$title = __( 'Credits' );
|
|
|
|
|
2016-08-31 01:49:37 -04:00
|
|
|
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
2011-11-03 19:55:03 -04:00
|
|
|
|
2012-01-06 12:53:41 -05:00
|
|
|
include( ABSPATH . 'wp-admin/admin-header.php' );
|
2019-10-29 16:10:04 -04:00
|
|
|
|
|
|
|
$credits = wp_credits();
|
2011-05-11 21:36:05 -04:00
|
|
|
?>
|
2019-10-29 16:10:04 -04:00
|
|
|
<div class="wrap about__container">
|
2011-11-03 19:23:31 -04:00
|
|
|
|
2019-10-22 15:19:07 -04:00
|
|
|
<div class="about__header">
|
|
|
|
<div class="about__header-title">
|
|
|
|
<h1>
|
|
|
|
<span><?php echo $display_version; ?></span>
|
|
|
|
<?php _e( 'WordPress' ); ?>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
|
Help/About: Update the 5.3 About page.
* Remove the SVG from the upper right corner.
* Make sure admin notices that should be hidden stay hidden.
* Address a11y issues with contrast.
* Fix an issue with the active nav tab hover.
* Prevent names on the credits from breaking out of the box.
* Update two strings with a more accurate information.
Previously [46556], [46572], [46616].
Props ryelle, afercia, audrasjb, francina, mapk, desrosj, YordanSoares, melchoyce, azaozz, johnbillion, davidbaumwald, luminuu, bwmarkle, la-geek, SergeyBiryukov.
See #47708.
Built from https://develop.svn.wordpress.org/trunk@46705
git-svn-id: http://core.svn.wordpress.org/trunk@46505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-11-11 11:07:03 -05:00
|
|
|
<div class="about__header-badge"></div>
|
2019-10-22 15:19:07 -04:00
|
|
|
|
|
|
|
<div class="about__header-text">
|
|
|
|
<p>
|
|
|
|
<?php
|
|
|
|
printf(
|
|
|
|
/* translators: %s: The current WordPress version number. */
|
|
|
|
__( 'Introducing our most refined user experience with the improved block editor in WordPress %s!' ),
|
|
|
|
$display_version
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
|
|
|
|
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
|
|
|
|
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
|
|
|
|
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
|
|
|
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
|
2019-10-29 16:10:04 -04:00
|
|
|
<div class="about__section">
|
|
|
|
<div class="column">
|
|
|
|
<h2><?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?></h2>
|
2011-05-11 21:36:05 -04:00
|
|
|
|
2019-10-29 16:10:04 -04:00
|
|
|
<p>
|
|
|
|
<?php
|
|
|
|
if ( ! $credits ) {
|
|
|
|
printf(
|
|
|
|
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
|
|
|
|
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
|
|
|
|
__( 'https://wordpress.org/about/' ),
|
|
|
|
__( 'https://make.wordpress.org/' )
|
|
|
|
);
|
|
|
|
} else {
|
|
|
|
printf(
|
|
|
|
/* 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>
|
|
|
|
</div>
|
2011-05-12 20:49:53 -04:00
|
|
|
|
2019-10-29 16:10:04 -04:00
|
|
|
<div class="about__image aligncenter">
|
|
|
|
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1320' height='350' viewbox='0 0 1320 350' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 61 220)' fill='%23321017'/%3E%3Crect width='72' height='250' transform='matrix(1 0 0 -1 166 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 272 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 378 220)' fill='%235F1B29'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 483 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 587 220)' fill='%235F1B29'/%3E%3Crect width='71.28' height='250' transform='matrix(1 0 0 -1 689 300)' fill='%23BD3854'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 884 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 789 220)' fill='%23321017'/%3E%3Crect width='71' height='220' transform='matrix(1 0 0 -1 985 220)' fill='%23321017'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1084 220)' fill='%235F1B29'/%3E%3Crect width='72' height='220' transform='matrix(1 0 0 -1 1179 220)' fill='%233D0F19'/%3E%3C/svg%3E%0A" alt="" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
2011-06-06 02:38:29 -04:00
|
|
|
if ( ! $credits ) {
|
2017-11-06 23:11:47 -05:00
|
|
|
echo '</div>';
|
2012-01-06 12:53:41 -05:00
|
|
|
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
2011-05-12 20:49:53 -04:00
|
|
|
exit;
|
|
|
|
}
|
2019-11-11 15:45:04 -05:00
|
|
|
?>
|
2011-05-12 20:49:53 -04:00
|
|
|
|
2019-11-11 15:45:04 -05:00
|
|
|
<hr />
|
2011-05-12 20:49:53 -04:00
|
|
|
|
2019-10-29 16:10:04 -04:00
|
|
|
<div class="about__section">
|
2019-11-11 15:45:04 -05:00
|
|
|
<div class="column has-subtle-background-color">
|
|
|
|
<?php wp_credits_section_title( $credits['groups']['core-developers'] ); ?>
|
|
|
|
<?php wp_credits_section_list( $credits, 'core-developers' ); ?>
|
|
|
|
<?php wp_credits_section_list( $credits, 'contributing-developers' ); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<div class="about__section">
|
|
|
|
<div class="column">
|
|
|
|
<?php wp_credits_section_title( $credits['groups']['props'] ); ?>
|
|
|
|
<?php wp_credits_section_list( $credits, 'props' ); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2011-05-11 21:36:05 -04:00
|
|
|
|
2019-11-11 15:45:04 -05:00
|
|
|
<hr />
|
|
|
|
|
|
|
|
<?php if ( isset( $credits['groups']['translators'] ) || isset( $credits['groups']['validators'] ) ) : ?>
|
|
|
|
<div class="about__section">
|
|
|
|
<div class="column">
|
|
|
|
<?php wp_credits_section_title( $credits['groups']['validators'] ); ?>
|
|
|
|
<?php wp_credits_section_list( $credits, 'validators' ); ?>
|
|
|
|
<?php wp_credits_section_list( $credits, 'translators' ); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<div class="about__section">
|
|
|
|
<div class="column">
|
|
|
|
<?php wp_credits_section_title( $credits['groups']['libraries'] ); ?>
|
|
|
|
<?php wp_credits_section_list( $credits, 'libraries' ); ?>
|
2019-10-29 16:10:04 -04:00
|
|
|
</div>
|
2019-10-22 15:19:07 -04:00
|
|
|
</div>
|
2011-05-11 21:36:05 -04:00
|
|
|
</div>
|
2011-05-12 20:49:53 -04:00
|
|
|
<?php
|
|
|
|
|
2012-01-06 12:53:41 -05:00
|
|
|
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
2011-05-12 20:49:53 -04:00
|
|
|
|
|
|
|
return;
|
|
|
|
|
2020-01-28 19:45:18 -05:00
|
|
|
// These are strings returned by the API that we want to be translatable.
|
2011-05-12 20:49:53 -04:00
|
|
|
__( 'Project Leaders' );
|
2019-09-02 20:41:05 -04:00
|
|
|
/* translators: %s: The current WordPress version number. */
|
2011-05-12 20:49:53 -04:00
|
|
|
__( 'Core Contributors to WordPress %s' );
|
2017-10-24 15:29:47 -04:00
|
|
|
__( 'Noteworthy Contributors' );
|
2011-05-12 20:49:53 -04:00
|
|
|
__( 'Cofounder, Project Lead' );
|
|
|
|
__( 'Lead Developer' );
|
2014-09-03 19:19:18 -04:00
|
|
|
__( 'Release Lead' );
|
2016-04-09 22:03:29 -04:00
|
|
|
__( 'Release Design Lead' );
|
|
|
|
__( 'Release Deputy' );
|
2011-11-10 18:16:21 -05:00
|
|
|
__( 'Core Developer' );
|
2011-06-06 02:38:29 -04:00
|
|
|
__( 'External Libraries' );
|