Make WordPress Core


Ignore:
Timestamp:
05/02/2019 03:43:10 PM (5 years ago)
Author:
desrosj
Message:

Help/About: Polish the About page for 5.2.

  • The About page now uses a CSS grid to layout its design, making the page’s structure more obvious and hopefully easier for contributors in the future.
  • Removes some code that is no longer used (such as videos, mejs elements, etc.).
  • Update images.
  • Unnecessary HTML is removed from a string on the page. This was a regression.
  • Only users with the correct capability should be instructed to check their site status.
  • Fixes the placement of commas.

Reviewed by melchoyce, afercia, jeremyfelt, and desrosj.

Props ryelle, melchoyce, cathibosco1, man4toman, SergeyBiryukov, afercia, ramiy, kjellr, tellyworth, earnjam, andreamiddleton, marybaum.
See #46901.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/freedoms.php

    r44905 r45278  
    5454<?php else : ?>
    5555<div class="about-wrap-content">
    56     <div class="feature-section one-col">
    57         <div class="col">
    58             <h2><?php _e( 'Freedoms' ); ?></h2>
    59             <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>
    60         </div>
     56    <div class="feature-section has-1-columns">
     57        <h2><?php _e( 'Freedoms' ); ?></h2>
     58        <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>
    6159    </div>
    6260
    63     <div class="feature-section four-col">
    64         <div class="col">
     61    <div class="feature-section has-4-columns is-fullwidth">
     62        <div class="column">
    6563            <div class="freedoms-image"></div>
    6664            <h3><?php _e( 'The 1st Freedom' ); ?></h3>
    6765            <p><?php _e( 'To run the program for any purpose.' ); ?></p>
    6866        </div>
    69         <div class="col">
     67        <div class="column">
    7068            <div class="freedoms-image"></div>
    7169            <h3><?php _e( 'The 2nd Freedom' ); ?></h3>
    7270            <p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
    7371        </div>
    74         <div class="col">
     72        <div class="column">
    7573            <div class="freedoms-image"></div>
    7674            <h3><?php _e( 'The 3rd Freedom' ); ?></h3>
    7775            <p><?php _e( 'To redistribute.' ); ?></p>
    7876        </div>
    79         <div class="col">
     77        <div class="column">
    8078            <div class="freedoms-image"></div>
    8179            <h3><?php _e( 'The 4th Freedom' ); ?></h3>
     
    8482    </div>
    8583
    86     <div class="feature-section one-col">
    87         <div class="col">
    88             <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&#8217;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>
     84    <div class="feature-section has-1-columns">
     85        <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&#8217;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>
    8986
    90             <p>
    91             <?php
    92                 $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
    93                 $themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
     87        <p>
     88        <?php
     89            $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
     90            $themes_url  = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    9491
    95                 printf( __( '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.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
    96             ?>
    97             </p>
     92            printf( __( '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.' ), $plugins_url, $themes_url, 'https://wordpress.org/about/license/' );
     93        ?>
     94        </p>
    9895
    99             <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>
    100         </div>
     96        <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>
    10197    </div>
    10298</div>
Note: See TracChangeset for help on using the changeset viewer.