2011-05-12 03:36:05 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Credits administration panel.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** WordPress Administration Bootstrap */
|
2020-02-06 07:33:11 +01:00
|
|
|
require_once __DIR__ . '/admin.php';
|
|
|
|
require_once __DIR__ . '/includes/credits.php';
|
2011-05-12 03:36:05 +02:00
|
|
|
|
|
|
|
$title = __( 'Credits' );
|
|
|
|
|
2016-08-31 07:49:37 +02:00
|
|
|
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
2011-11-04 00:55:03 +01:00
|
|
|
|
2020-02-06 07:33:11 +01:00
|
|
|
require_once ABSPATH . 'wp-admin/admin-header.php';
|
2019-10-29 21:10:04 +01:00
|
|
|
|
|
|
|
$credits = wp_credits();
|
2011-05-12 03:36:05 +02:00
|
|
|
?>
|
2019-10-29 21:10:04 +01:00
|
|
|
<div class="wrap about__container">
|
2011-11-04 00:23:31 +01:00
|
|
|
|
2019-10-22 21:19:07 +02:00
|
|
|
<div class="about__header">
|
|
|
|
<div class="about__header-title">
|
Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings on About, Credits, Freedoms, Privacy pages to be unique to each page.
Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47521
git-svn-id: http://core.svn.wordpress.org/trunk@47296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:41:06 +01:00
|
|
|
<p>
|
2019-10-22 21:19:07 +02:00
|
|
|
<?php _e( 'WordPress' ); ?>
|
2020-03-20 18:13:10 +01:00
|
|
|
<span><?php echo $display_version; ?></span>
|
Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings on About, Credits, Freedoms, Privacy pages to be unique to each page.
Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47521
git-svn-id: http://core.svn.wordpress.org/trunk@47296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:41:06 +01:00
|
|
|
</p>
|
2019-10-22 21:19:07 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="about__header-text">
|
|
|
|
<p>
|
2020-03-03 22:22:07 +01:00
|
|
|
<?php _e( 'Building more with blocks, faster and easier.' ); ?>
|
2019-10-22 21:19:07 +02:00
|
|
|
</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>
|
|
|
|
|
Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings on About, Credits, Freedoms, Privacy pages to be unique to each page.
Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47521
git-svn-id: http://core.svn.wordpress.org/trunk@47296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:41:06 +01:00
|
|
|
<div class="about__section is-feature">
|
2019-10-29 21:10:04 +01:00
|
|
|
<div class="column">
|
Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings on About, Credits, Freedoms, Privacy pages to be unique to each page.
Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47521
git-svn-id: http://core.svn.wordpress.org/trunk@47296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:41:06 +01:00
|
|
|
<h1><?php _e( 'Credits' ); ?></h1>
|
|
|
|
|
|
|
|
<?php if ( ! $credits ) : ?>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<?php
|
|
|
|
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/' )
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<?php else : ?>
|
2011-05-12 03:36:05 +02:00
|
|
|
|
Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings on About, Credits, Freedoms, Privacy pages to be unique to each page.
Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47521
git-svn-id: http://core.svn.wordpress.org/trunk@47296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:41:06 +01:00
|
|
|
<p>
|
|
|
|
<?php _e( 'WordPress is created by a worldwide team of passionate individuals.' ); ?>
|
|
|
|
</p>
|
2019-10-29 21:10:04 +01:00
|
|
|
<p>
|
|
|
|
<?php
|
Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings on About, Credits, Freedoms, Privacy pages to be unique to each page.
Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47521
git-svn-id: http://core.svn.wordpress.org/trunk@47296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:41:06 +01:00
|
|
|
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/' )
|
|
|
|
);
|
2019-10-29 21:10:04 +01:00
|
|
|
?>
|
|
|
|
</p>
|
Help/About: Improve accessibility of the 5.4 About page:
* Remove vertical text and unnecessary italics.
* Update H1 headings on About, Credits, Freedoms, Privacy pages to be unique to each page.
Props sabernhardt, ryelle, melchoyce, karmatosed, audrasjb, afercia, davidbaumwald, SergeyBiryukov.
See #49295.
Built from https://develop.svn.wordpress.org/trunk@47521
git-svn-id: http://core.svn.wordpress.org/trunk@47296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-28 00:41:06 +01:00
|
|
|
|
|
|
|
<?php endif; ?>
|
2019-10-29 21:10:04 +01:00
|
|
|
</div>
|
2011-05-13 02:49:53 +02:00
|
|
|
|
2019-10-29 21:10:04 +01:00
|
|
|
<div class="about__image aligncenter">
|
2020-03-20 18:13:10 +01:00
|
|
|
<img src="data:image/svg+xml;charset=utf8,%3Csvg width='1000' height='300' viewbox='0 0 1000 300' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F3F4F5' d='M0 0h1000v300H0z'/%3E%3Cpath style='mix-blend-mode:multiply' d='M39.6 140.22l931.1 3.36.8 76.5-929.5 6.6-2.4-86.46z' fill='%23216DD2'/%3E%3Cpath style='mix-blend-mode:multiply' d='M963.7 275.14s-.9-59.58-1-64.14c-.1-4.2-932.3 1.74-932.3 1.74L29 268.48v8.4' fill='%237FCDE6'/%3E%3Cpath style='mix-blend-mode:multiply' d='M958 73.32L47.8 70.26l1.2 78.66 907.3 4.26 1.7-79.86z' fill='%23072CF0'/%3E%3Cpath style='mix-blend-mode:multiply' d='M34 91.32l910.4-2.16L939.2 21 33.3 23.82l.7 67.5z' fill='%230188D9'/%3E%3C/svg%3E" alt="" />
|
2019-10-29 21:10:04 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
2011-06-06 08:38:29 +02:00
|
|
|
if ( ! $credits ) {
|
2017-11-07 05:11:47 +01:00
|
|
|
echo '</div>';
|
2020-02-06 07:33:11 +01:00
|
|
|
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
2011-05-13 02:49:53 +02:00
|
|
|
exit;
|
|
|
|
}
|
2019-11-11 21:45:04 +01:00
|
|
|
?>
|
2011-05-13 02:49:53 +02:00
|
|
|
|
2019-11-11 21:45:04 +01:00
|
|
|
<hr />
|
2011-05-13 02:49:53 +02:00
|
|
|
|
2019-10-29 21:10:04 +01:00
|
|
|
<div class="about__section">
|
2019-11-11 21:45:04 +01: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-12 03:36:05 +02:00
|
|
|
|
2019-11-11 21:45:04 +01: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 21:10:04 +01:00
|
|
|
</div>
|
2019-10-22 21:19:07 +02:00
|
|
|
</div>
|
2011-05-12 03:36:05 +02:00
|
|
|
</div>
|
2011-05-13 02:49:53 +02:00
|
|
|
<?php
|
|
|
|
|
2020-02-06 07:33:11 +01:00
|
|
|
require_once ABSPATH . 'wp-admin/admin-footer.php';
|
2011-05-13 02:49:53 +02:00
|
|
|
|
|
|
|
return;
|
|
|
|
|
2020-01-29 01:45:18 +01:00
|
|
|
// These are strings returned by the API that we want to be translatable.
|
2011-05-13 02:49:53 +02:00
|
|
|
__( 'Project Leaders' );
|
2019-09-03 02:41:05 +02:00
|
|
|
/* translators: %s: The current WordPress version number. */
|
2011-05-13 02:49:53 +02:00
|
|
|
__( 'Core Contributors to WordPress %s' );
|
2017-10-24 21:29:47 +02:00
|
|
|
__( 'Noteworthy Contributors' );
|
2011-05-13 02:49:53 +02:00
|
|
|
__( 'Cofounder, Project Lead' );
|
|
|
|
__( 'Lead Developer' );
|
2014-09-04 01:19:18 +02:00
|
|
|
__( 'Release Lead' );
|
2016-04-10 04:03:29 +02:00
|
|
|
__( 'Release Design Lead' );
|
|
|
|
__( 'Release Deputy' );
|
2011-11-11 00:16:21 +01:00
|
|
|
__( 'Core Developer' );
|
2011-06-06 08:38:29 +02:00
|
|
|
__( 'External Libraries' );
|