Make WordPress Core

Ticket #40794: 40794.5.diff

File 40794.5.diff, 4.0 KB (added by danieltj, 7 years ago)
  • wp-admin/about.php

    diff --git wp-admin/about.php wp-admin/about.php
    index 7a82956..02604aa 100644
    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="changelog point-releases">
  • wp-admin/credits.php

    diff --git wp-admin/credits.php wp-admin/credits.php
    index 741fa08..61aeee5 100644
    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
  • wp-admin/freedoms.php

    diff --git wp-admin/freedoms.php wp-admin/freedoms.php
    index f39fbc8..aebd552 100644
    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 wp-admin/privacy.php

    diff --git wp-admin/privacy.php wp-admin/privacy.php
    new file mode 100644
    index 0000000..47971ae
    - +  
     1<?php
     2/**
     3 * Privacy administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Administration
     7 *
     8 * @since 4.9
     9 */
     10
     11/** WordPress Administration Bootstrap */
     12require_once( dirname( __FILE__ ) . '/admin.php' );
     13
     14$title = __( 'Privacy' );
     15
     16list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
     17
     18include( ABSPATH . 'wp-admin/admin-header.php' );
     19?>
     20<div class="wrap about-wrap">
     21
     22<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
     23
     24<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s adds more ways for you to express yourself and represent your brand.' ), $display_version ); ?></p>
     25
     26<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
     27
     28<h2 class="nav-tab-wrapper wp-clearfix">
     29        <a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
     30        <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
     31        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
     32        <a href="privacy.php" class="nav-tab nav-tab-active"><?php _e( 'Privacy' ); ?></a>
     33</h2>
     34
     35<p class="about-description"><?php _e( 'From time to time, your WordPress site sends anonymous data including, but not limited to, the version of WordPress you are using and a list of installed plugins and themes to WordPress.org.' ); ?></p>
     36
     37<p><?php _e( 'This data helps WordPress to protect your site by finding and automatically installing new updates as well as other things to enhance your experience. None of the information that is sent to WordPress.org servers contain personally identifiable information.' ); ?></p>
     38
     39<p><?php printf( __( 'We take privacy very seriously. To learn more about what data we collect and how we use it, please visit <a href="%s">WordPress.org/privacy</a>.' ), __( 'https://wordpress.org/about/privacy/' ) ); ?></p>
     40
     41</div>
     42<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>