Changeset 43569 for trunk/src/wp-admin/freedoms.php
- Timestamp:
- 08/15/2018 06:22:00 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/freedoms.php
r42814 r43569 18 18 $is_privacy_notice = isset( $_GET['privacy-notice'] ); 19 19 20 if ( $is_privacy_notice ) { 21 $freedoms_class = ''; 22 $privacy_class = ' nav-tab-active'; 23 } else { 24 $freedoms_class = ' nav-tab-active'; 25 $privacy_class = ''; 26 } 27 20 28 ?> 21 29 <div class="wrap about-wrap full-width-layout"> … … 30 38 <a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a> 31 39 <a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></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>40 <a href="freedoms.php" class="nav-tab<?php echo $freedoms_class; ?>"><?php _e( 'Freedoms' ); ?></a> 41 <a href="freedoms.php?privacy-notice" class="nav-tab<?php echo $privacy_class; ?>"><?php _e( 'Privacy' ); ?></a> 34 42 </h2> 35 43
Note: See TracChangeset
for help on using the changeset viewer.