diff -r c7c34916027a -r 177826044cd9 wp/wp-admin/freedoms.php --- a/wp/wp-admin/freedoms.php Mon Oct 14 18:06:33 2019 +0200 +++ b/wp/wp-admin/freedoms.php Mon Oct 14 18:28:13 2019 +0200 @@ -17,53 +17,126 @@ $is_privacy_notice = isset( $_GET['privacy-notice'] ); +if ( $is_privacy_notice ) { + $freedoms_class = ''; + $privacy_class = ' nav-tab-active'; + $freedoms_aria_current = ''; + $privacy_aria_current = ' aria-current="page"'; +} else { + $freedoms_class = ' nav-tab-active'; + $privacy_class = ''; + $freedoms_aria_current = ' aria-current="page"'; + $privacy_aria_current = ''; +} + ?>
+ +
-WordPress.org stats page.' ), 'https://wordpress.org/about/stats/' ); ?>
++ WordPress.org stats page.' ), 'https://wordpress.org/about/stats/' ); + ?> +
-WordPress.org/about/privacy.' ), 'https://wordpress.org/about/privacy/' ); ?>
++ WordPress.org/about/privacy.' ), 'https://wordpress.org/about/privacy/' ); + ?> +
license, the GPL.' ), 'https://wordpress.org/about/license/' ); ?>
- -+ license, the GPL.' ), 'https://wordpress.org/about/license/' ); + ?> +
+check out our trademark guidelines first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?>
- -+
+ check out our trademark guidelines first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); + ?> +
- printf( __( 'Every plugin and theme in WordPress.org’s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); ?> ++ plugins and themes there. If you get a plugin or theme from another source, make sure to ask them if it’s GPL first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' ); + ?> +
-Free Software Foundation.' ); ?>
+Free Software Foundation.' ); ?>
+