wp/wp-admin/freedoms.php
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    13 if ( isset( $_GET['privacy-notice'] ) ) {
    13 if ( isset( $_GET['privacy-notice'] ) ) {
    14 	wp_redirect( admin_url( 'privacy.php' ), 301 );
    14 	wp_redirect( admin_url( 'privacy.php' ), 301 );
    15 	exit;
    15 	exit;
    16 }
    16 }
    17 
    17 
       
    18 // Used in the HTML title tag.
    18 $title = __( 'Freedoms' );
    19 $title = __( 'Freedoms' );
    19 
    20 
    20 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    21 list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    21 
    22 
    22 require_once ABSPATH . 'wp-admin/admin-header.php';
    23 require_once ABSPATH . 'wp-admin/admin-header.php';
    29 				<?php _e( 'The Four Freedoms' ); ?>
    30 				<?php _e( 'The Four Freedoms' ); ?>
    30 			</h1>
    31 			</h1>
    31 		</div>
    32 		</div>
    32 
    33 
    33 		<div class="about__header-text">
    34 		<div class="about__header-text">
    34 			<?php _e( 'WordPress is free and open source software, built by a distributed community of mostly volunteer developers from around the world' ); ?>
    35 			<?php _e( 'WordPress is free and open source software' ); ?>
    35 		</div>
    36 		</div>
    36 
    37 
    37 		<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    38 		<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
    38 			<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    39 			<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
    39 			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    40 			<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
    81 		<div class="column">
    82 		<div class="column">
    82 			<p>
    83 			<p>
    83 			<?php
    84 			<?php
    84 			printf(
    85 			printf(
    85 				/* translators: %s: https://wordpressfoundation.org/trademark-policy/ */
    86 				/* translators: %s: https://wordpressfoundation.org/trademark-policy/ */
    86 				__( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We&#8217;re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ),
    87 				__( 'WordPress grows when people like you tell their friends about it, and the thousands of businesses and services that are built on and around WordPress share that fact with their users. We are flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ),
    87 				'https://wordpressfoundation.org/trademark-policy/'
    88 				'https://wordpressfoundation.org/trademark-policy/'
    88 			);
    89 			);
    89 			?>
    90 			?>
    90 			</p>
    91 			</p>
    91 
    92 
    93 			<?php
    94 			<?php
    94 			$plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
    95 			$plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
    95 			$themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    96 			$themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    96 			printf(
    97 			printf(
    97 				/* translators: 1: URL to Plugins screen, 2: URL to Themes screen, 3: https://wordpress.org/about/license/ */
    98 				/* translators: 1: URL to Plugins screen, 2: URL to Themes screen, 3: https://wordpress.org/about/license/ */
    98 				__( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they don&#8217;t respect the WordPress license, we don&#8217;t recommend them.' ),
    99 				__( 'Every plugin and theme in WordPress.org&#8217;s directory is 100%% GPL or a similarly free and compatible license, so you can feel safe finding <a href="%1$s">plugins</a> and <a href="%2$s">themes</a> there. If you get a plugin or theme from another source, make sure to <a href="%3$s">ask them if it&#8217;s GPL</a> first. If they do not respect the WordPress license, it is not recommended to use them.' ),
    99 				$plugins_url,
   100 				$plugins_url,
   100 				$themes_url,
   101 				$themes_url,
   101 				__( 'https://wordpress.org/about/license/' )
   102 				__( 'https://wordpress.org/about/license/' )
   102 			);
   103 			);
   103 			?>
   104 			?>
   104 			</p>
   105 			</p>
   105 
       
   106 			<p><?php _e( 'Don&#8217;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>
       
   107 		</div>
   106 		</div>
   108 	</div>
   107 	</div>
   109 
   108 
   110 </div>
   109 </div>
   111 <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
   110 <?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>