Make WordPress Core


Ignore:
Timestamp:
07/06/2021 06:37:16 PM (3 years ago)
Author:
ryelle
Message:

Help/About: Update the About section for 5.8.

Add the images for About, Freedoms, and Privacy. Update the styles on all About section pages to match the About page style. Fix string issues, missing link wrapper, duplicate copy.

Props chanthaboune, kellychoffman, javiarce, ryokuhi, alanjacobmathew, desrosj.
See #52775.

File:
1 edited

Legend:

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

    r51264 r51356  
    4343    </div>
    4444
    45     <div class="about__section has-subtle-background-color is-feature">
     45    <div class="about__section is-feature">
    4646        <p class="about-description">
    4747        <?php
    4848        printf(
    4949            /* translators: %s: https://wordpress.org/about/license/ */
    50             __( '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.' ),
     50            __( 'WordPress comes with some awesome, worldview-changing rights courtesy of its <a href="%s">license</a>, the GPL.' ),
    5151            __( 'https://wordpress.org/about/license/' )
    5252        );
     
    5555    </div>
    5656
    57     <hr />
    58 
    59     <div class="about__section has-4-columns">
    60         <div class="column">
    61             <div class="freedoms-image"></div>
     57    <div class="about__section has-2-columns">
     58        <div class="column aligncenter">
     59            <img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-1.svg' ) ); ?>" alt="" />
    6260            <h2 class="is-smaller-heading"><?php _e( 'The 1st Freedom' ); ?></h2>
    6361            <p><?php _e( 'To run the program for any purpose.' ); ?></p>
    6462        </div>
    65         <div class="column">
    66             <div class="freedoms-image"></div>
     63        <div class="column aligncenter">
     64            <img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-2.svg' ) ); ?>" alt="" />
    6765            <h2 class="is-smaller-heading"><?php _e( 'The 2nd Freedom' ); ?></h2>
    6866            <p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
    6967        </div>
    70         <div class="column">
    71             <div class="freedoms-image"></div>
     68        <div class="column aligncenter">
     69            <img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-3.svg' ) ); ?>" alt="" />
    7270            <h2 class="is-smaller-heading"><?php _e( 'The 3rd Freedom' ); ?></h2>
    7371            <p><?php _e( 'To redistribute.' ); ?></p>
    7472        </div>
    75         <div class="column">
    76             <div class="freedoms-image"></div>
     73        <div class="column aligncenter">
     74            <img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-4.svg' ) ); ?>" alt="" />
    7775            <h2 class="is-smaller-heading"><?php _e( 'The 4th Freedom' ); ?></h2>
    7876            <p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.