mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
About page: Add a privacy policy.
Props MattyRob, johnbillion, swissspidy. Fixes #40794. Built from https://develop.svn.wordpress.org/trunk@41096 git-svn-id: http://core.svn.wordpress.org/trunk@40936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8b3d2e0876
commit
f48ed236ff
@ -41,6 +41,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="about.php" class="nav-tab nav-tab-active"><?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"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="feature-section one-col">
|
||||
|
@ -28,6 +28,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="credits.php" class="nav-tab nav-tab-active"><?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>
|
||||
</h2>
|
||||
|
||||
<?php
|
||||
|
@ -27,6 +27,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<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 nav-tab-active"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<p class="about-description"><?php printf( __( 'WordPress is Free and open source software, built by a distributed community of mostly volunteer developers from around the world. WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ), 'https://wordpress.org/about/license/' ); ?></p>
|
||||
|
40
wp-admin/privacy.php
Normal file
40
wp-admin/privacy.php
Normal file
@ -0,0 +1,40 @@
|
||||
<?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-wrap">
|
||||
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s helps you get your site set up the way you want it.' ), $display_version ); ?></p>
|
||||
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
|
||||
<h2 class="nav-tab-wrapper wp-clearfix">
|
||||
<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"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<p class="about-description"><?php _e( 'Your WordPress site may send anonymous data including, but not limited to, the list of installed plugins and themes to WordPress.org when requesting updates.' ); ?></p>
|
||||
|
||||
<p><?php _e( ' This data helps WordPress to protect your site by finding and automatically installing new updates. None of the information shared with the update server contains personally identifiable information.' ); ?></p>
|
||||
|
||||
<p><?php printf( __( 'We take privacy seriously. Learn more at <a href="%s">wordpress.org/privacy</a>.' ), __( 'https://wordpress.org/about/privacy/' ) ); ?></p>
|
||||
|
||||
</div>
|
||||
<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41094';
|
||||
$wp_version = '4.9-alpha-41096';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user