Changeset 43098 for branches/4.9/src/wp-admin/freedoms.php
- Timestamp:
- 05/02/2018 02:45:22 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/freedoms.php
r42158 r43098 15 15 16 16 include( ABSPATH . 'wp-admin/admin-header.php' ); 17 18 $is_privacy_notice = isset( $_GET['privacy-notice'] ); 19 17 20 ?> 18 21 <div class="wrap about-wrap full-width-layout"> … … 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>30 <a href=" privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>32 <a href="freedoms.php" class="nav-tab<?php if ( ! $is_privacy_notice ) { echo ' nav-tab-active'; } ?>"><?php _e( 'Freedoms' ); ?></a> 33 <a href="freedoms.php?privacy-notice" class="nav-tab<?php if ( $is_privacy_notice ) { echo ' nav-tab-active'; } ?>"><?php _e( 'Privacy' ); ?></a> 31 34 </h2> 32 35 36 <?php if ( $is_privacy_notice ) : ?> 37 38 <div class="about-wrap-content"> 39 <p class="about-description"><?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> 40 41 <p><?php printf( __( '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> 42 43 <p><?php printf( __( '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> 44 </div> 45 46 <?php else : ?> 33 47 <div class="about-wrap-content"> 34 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> … … 53 67 </div> 54 68 69 <?php endif; ?> 55 70 </div> 56 71 <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.