diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php
index 47524fc..3b1655d 100644
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
41 | 41 | <a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a> |
42 | 42 | <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> |
43 | 43 | <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> |
| 44 | <a href="freedoms.php?privacy" class="nav-tab"><?php _e( 'Privacy' ); ?></a> |
44 | 45 | </h2> |
45 | 46 | |
46 | 47 | <div class="feature-section one-col"> |
diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php
index 741fa08..8895dba 100644
a
|
b
|
include( ABSPATH . 'wp-admin/admin-header.php' ); |
28 | 28 | <a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a> |
29 | 29 | <a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a> |
30 | 30 | <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a> |
| 31 | <a href="freedoms.php?privacy" class="nav-tab"><?php _e( 'Privacy' ); ?></a> |
31 | 32 | </h2> |
32 | 33 | |
33 | 34 | <?php |
diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php
index 963ba5c..d93a590 100644
a
|
b
|
$title = __( 'Freedoms' ); |
14 | 14 | list( $display_version ) = explode( '-', get_bloginfo( 'version' ) ); |
15 | 15 | |
16 | 16 | include( ABSPATH . 'wp-admin/admin-header.php' ); |
| 17 | |
| 18 | $nav_tab_class_freedoms = isset( $_GET['privacy'] ) ? 'nav-tab' : 'nav-tab nav-tab-active'; |
| 19 | $nav_tab_class_privacy = isset( $_GET['privacy'] ) ? 'nav-tab nav-tab-active' : 'nav-tab'; |
17 | 20 | ?> |
18 | 21 | <div class="wrap about-wrap"> |
19 | 22 | |
… |
… |
include( ABSPATH . 'wp-admin/admin-header.php' ); |
26 | 29 | <h2 class="nav-tab-wrapper wp-clearfix"> |
27 | 30 | <a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a> |
28 | 31 | <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a> |
29 | | <a href="freedoms.php" class="nav-tab nav-tab-active"><?php _e( 'Freedoms' ); ?></a> |
| 32 | <a href="freedoms.php" class="<?php echo $nav_tab_class_freedoms; ?>"><?php _e( 'Freedoms' ); ?></a> |
| 33 | <a href="freedoms.php?privacy" class="<?php echo $nav_tab_class_privacy; ?>"><?php _e( 'Privacy' ); ?></a> |
30 | 34 | </h2> |
31 | 35 | |
| 36 | <?php if ( isset( $_GET['privacy'] ) ): |
| 37 | // TODO: Move this to `privacy.php` in 4.9. |
| 38 | ?> |
| 39 | |
| 40 | <p class="about-description"><?php _e( 'Your WordPress site may send anonymous data including the list of installed plugins and themes to WordPress.org when requesting updates.' ); ?></p> |
| 41 | |
| 42 | <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> |
| 43 | |
| 44 | <p><?php printf( __( 'We take privacy seriously. Learn more at <a href="%s">wordpress.org/privacy</a>.' ), __( 'https://wordpress.org/about/privacy/' ) ); ?></p> |
| 45 | |
| 46 | <?php else: ?> |
| 47 | |
32 | 48 | <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> |
33 | 49 | |
34 | 50 | <ol start="0"> |
… |
… |
printf( __( 'Every plugin and theme in WordPress.org’s directory is 100%% |
49 | 65 | |
50 | 66 | <p><?php _e( 'Don’t you wish all software came with these freedoms? So do we! For more information, check out the <a href="https://www.fsf.org/">Free Software Foundation</a>.' ); ?></p> |
51 | 67 | |
52 | | </div> |
| 68 | <?php endif; ?> |
| 69 | |
| 70 | </div><!-- .about-wrap --> |
53 | 71 | <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?> |