mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
79ea28c053
* 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. * Remove extra padding on the Credits tab. Previously [46556], [46572], [46616]. Reviewed by SergeyBiryukov. Props ryelle, afercia, audrasjb, francina, mapk, desrosj, YordanSoares, melchoyce, azaozz, johnbillion, davidbaumwald, luminuu, bwmarkle, la-geek, SergeyBiryukov. Merges [46705] and [46709] to the 5.3 branch. Fixes #47708. Built from https://develop.svn.wordpress.org/branches/5.3@46710 git-svn-id: http://core.svn.wordpress.org/branches/5.3@46510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
80 lines
2.5 KiB
PHP
80 lines
2.5 KiB
PHP
<?php
|
|
/**
|
|
* Privacy administration panel.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
/** WordPress Administration Bootstrap */
|
|
require_once( dirname( __FILE__ ) . '/admin.php' );
|
|
|
|
$title = __( 'Privacy' );
|
|
|
|
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
|
|
|
include( ABSPATH . 'wp-admin/admin-header.php' );
|
|
?>
|
|
<div class="wrap about__container">
|
|
|
|
<div class="about__header">
|
|
<div class="about__header-title">
|
|
<h1>
|
|
<span><?php echo $display_version; ?></span>
|
|
<?php _e( 'WordPress' ); ?>
|
|
</h1>
|
|
</div>
|
|
|
|
<div class="about__header-badge"></div>
|
|
|
|
<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"><?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>
|
|
</nav>
|
|
</div>
|
|
|
|
<div class="about__section">
|
|
<div class="column">
|
|
<h2><?php _e( 'Privacy' ); ?></h2>
|
|
|
|
<p><?php _e( 'From time to time, your WordPress site may send data to WordPress.org — including, but not limited to — the version of WordPress 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">WordPress.org/about/privacy</a>.' ),
|
|
__( 'https://wordpress.org/about/privacy/' )
|
|
);
|
|
?>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
|