mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
9cd64e1341
The About page describes all the great changes in WordPress 5.0. Highlights: - Warn users of Gutenberg plugin of its deactivation upon 5.0 upgrade. - Added illustrations to the Four Freedoms page. - Include a link to wporg user’s plugin favorites as a way to display only the classic plugin as a suggestion for install. - Detail the Classic Editor plugin and the support timeline. Props pixelverbieger, ocean90, karmatosed, pento, boemedia, lonelyvegan, sami.keijonen, TimothyBlynJacobs, xkon, afercia, laurelfulford, joostdevalk, ipstenu, matveb, joen, tinkerbelly, chanthaboune, kjellr, alexislloyd, melchoyce, mcsf, courtney0burton, Otto42, cathibosco, tobifjellner, helen, audrasjb, antpb, jjj, elrae, desrosj, azaozz, joemcgill, skithund, gziolo. Merges [43913], [43921-43922], [43937-43938], [43946-43947], [43952-43953], [43967-43969] into trunk. Fixes #45178. Built from https://develop.svn.wordpress.org/trunk@44264 git-svn-id: http://core.svn.wordpress.org/trunk@44094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
107 lines
5.1 KiB
PHP
107 lines
5.1 KiB
PHP
<?php
|
|
/**
|
|
* Your Rights administration panel.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
/** WordPress Administration Bootstrap */
|
|
require_once( dirname( __FILE__ ) . '/admin.php' );
|
|
|
|
$title = __( 'Freedoms' );
|
|
|
|
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
|
|
|
include( ABSPATH . 'wp-admin/admin-header.php' );
|
|
|
|
$is_privacy_notice = isset( $_GET['privacy-notice'] );
|
|
|
|
if ( $is_privacy_notice ) {
|
|
$freedoms_class = '';
|
|
$privacy_class = ' nav-tab-active';
|
|
} else {
|
|
$freedoms_class = ' nav-tab-active';
|
|
$privacy_class = '';
|
|
}
|
|
|
|
?>
|
|
<div class="wrap about-wrap full-width-layout">
|
|
|
|
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
|
|
|
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p>
|
|
|
|
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
|
|
|
<h2 class="nav-tab-wrapper wp-clearfix">
|
|
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
|
|
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
|
|
<a href="freedoms.php" class="nav-tab<?php echo $freedoms_class; ?>"><?php _e( 'Freedoms' ); ?></a>
|
|
<a href="freedoms.php?privacy-notice" class="nav-tab<?php echo $privacy_class; ?>"><?php _e( 'Privacy' ); ?></a>
|
|
</h2>
|
|
|
|
<?php if ( $is_privacy_notice ) : ?>
|
|
|
|
<div class="about-wrap-content">
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
</div>
|
|
|
|
<?php else : ?>
|
|
<div class="about-wrap-content">
|
|
<div class="feature-section one-col">
|
|
<div class="col">
|
|
<h2><?php _e( 'Freedoms' ); ?></h2>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="feature-section four-col">
|
|
<div class="col">
|
|
<div class="freedoms-image"></div>
|
|
<h3><?php _e( 'The 1st Freedom' ); ?></h3>
|
|
<p><?php _e( 'To run the program for any purpose.' ); ?></p>
|
|
</div>
|
|
<div class="col">
|
|
<div class="freedoms-image"></div>
|
|
<h3><?php _e( 'The 2nd Freedom' ); ?></h3>
|
|
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
|
|
</div>
|
|
<div class="col">
|
|
<div class="freedoms-image"></div>
|
|
<h3><?php _e( 'The 3rd Freedom' ); ?></h3>
|
|
<p><?php _e( 'To redistribute.' ); ?></p>
|
|
</div>
|
|
<div class="col">
|
|
<div class="freedoms-image"></div>
|
|
<h3><?php _e( 'The 4th Freedom' ); ?></h3>
|
|
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="feature-section one-col">
|
|
<div class="col">
|
|
<p><?php printf( __( '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’re flattered every time someone spreads the good word, just make sure to <a href="%s">check out our trademark guidelines</a> first.' ), 'https://wordpressfoundation.org/trademark-policy/' ); ?></p>
|
|
|
|
<p>
|
|
<?php
|
|
$plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
|
|
$themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
|
|
|
|
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 <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’s GPL</a> first. If they don’t respect the WordPress license, we don’t recommend them.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
|
|
?>
|
|
</p>
|
|
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
</div>
|
|
<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
|