mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 16:45:31 +01:00
f274631e5c
Introducing the new content & design for the 6.5 About page & related pages. This style is simplified, with no header images, and brings back the illustrations from previous versions for Contribute, Freedoms, and Privacy. This also includes a fix for heading hierarchy on the Get Involved page. Props laurlittle, dansoschin, benjamin_zekavica, richtabor, joen, annezazu, swissspidy, marybaum, ryelle, huzaifaalmesbah. See #60303. Built from https://develop.svn.wordpress.org/trunk@57715 git-svn-id: http://core.svn.wordpress.org/trunk@57216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
72 lines
2.5 KiB
PHP
72 lines
2.5 KiB
PHP
<?php
|
|
/**
|
|
* Privacy administration panel.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
/** WordPress Administration Bootstrap */
|
|
require_once __DIR__ . '/admin.php';
|
|
|
|
// Used in the HTML title tag.
|
|
$title = __( 'Privacy' );
|
|
|
|
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
|
|
|
require_once ABSPATH . 'wp-admin/admin-header.php';
|
|
?>
|
|
<div class="wrap about__container">
|
|
|
|
<div class="about__header">
|
|
<div class="about__header-title">
|
|
<h1>
|
|
<?php _e( 'Privacy' ); ?>
|
|
</h1>
|
|
</div>
|
|
|
|
<div class="about__header-text">
|
|
<?php _e( 'We take privacy and transparency very seriously' ); ?>
|
|
</div>
|
|
</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"><?php _e( 'Credits' ); ?></a>
|
|
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
|
<a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
|
|
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
|
|
</nav>
|
|
|
|
<div class="about__section has-2-columns is-wider-right">
|
|
<div class="column about__image">
|
|
<img class="privacy-image" src="<?php echo esc_url( admin_url( 'images/privacy.svg?ver=6.5' ) ); ?>" alt="" />
|
|
</div>
|
|
<div class="column is-vertically-aligned-center">
|
|
<p><?php _e( 'From time to time, your WordPress site may send data to WordPress.org — including, but not limited to — the version you are using, and a list of installed plugins and themes.' ); ?></p>
|
|
|
|
<p>
|
|
<?php
|
|
printf(
|
|
/* translators: %s: https://wordpress.org/about/stats/ */
|
|
__( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ),
|
|
__( 'https://wordpress.org/about/stats/' )
|
|
);
|
|
?>
|
|
</p>
|
|
|
|
<p>
|
|
<?php
|
|
printf(
|
|
/* translators: %s: https://wordpress.org/about/privacy/ */
|
|
__( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">our Privacy Policy</a>.' ),
|
|
__( 'https://wordpress.org/about/privacy/' )
|
|
);
|
|
?>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
|