Make WordPress Core

Ticket #40794: 40794.3.trunk.diff

File 40794.3.trunk.diff, 3.9 KB (added by jnylen0, 7 years ago)
  • src/wp-admin/about.php

    diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php
    index 47524fc..6dab788 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    4141                        <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What&#8217;s New' ); ?></a>
    4242                        <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    4343                        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
     44                        <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    4445                </h2>
    4546
    4647                <div class="feature-section one-col">
  • src/wp-admin/credits.php

    diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php
    index 741fa08..fd273e0 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    2828        <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    2929        <a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a>
    3030        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
     31        <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    3132</h2>
    3233
    3334<?php
  • src/wp-admin/freedoms.php

    diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php
    index 963ba5c..4ab0423 100644
    a b include( ABSPATH . 'wp-admin/admin-header.php' ); 
    2727        <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    2828        <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    2929        <a href="freedoms.php" class="nav-tab nav-tab-active"><?php _e( 'Freedoms' ); ?></a>
     30        <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
    3031</h2>
    3132
    3233<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>
  • new file src/wp-admin/privacy.php

    diff --git a/src/wp-admin/privacy.php b/src/wp-admin/privacy.php
    new file mode 100644
    index 0000000..2501310
    - +  
     1<?php
     2/**
     3 * Credits administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Administration
     7 */
     8
     9/** WordPress Administration Bootstrap */
     10require_once( dirname( __FILE__ ) . '/admin.php' );
     11
     12$title = __( 'Privacy' );
     13
     14list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
     15
     16include( ABSPATH . 'wp-admin/admin-header.php' );
     17?>
     18<div class="wrap about-wrap">
     19
     20<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
     21
     22<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>
     23
     24<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
     25
     26<h2 class="nav-tab-wrapper wp-clearfix">
     27        <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
     28        <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
     29        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
     30        <a href="privacy.php" class="nav-tab nav-tab-active"><?php _e( 'Privacy' ); ?></a>
     31</h2>
     32
     33<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>
     34
     35<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>
     36
     37<p><?php printf( __( 'We take privacy seriously. Learn more at <a href="%s">wordpress.org/privacy</a>.' ), __( 'https://wordpress.org/about/privacy/' ) ); ?></p>
     38
     39</div>
     40<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>