WordPress.org

Make WordPress Core

Changeset 43938


Ignore:
Timestamp:
11/22/2018 06:02:35 PM (11 months ago)
Author:
gziolo
Message:

About: Update Freedoms page to include illustrations.

@cathibosco has made some great illustrations of the Four Freedoms on https://wordpress.org/about/. Let's bring that over to the admin Freedoms page.

Props @melchoyce, @cathibosco, @boemedia, @karmatosed, @tobifjellner, @helen, @matveb, @mcsf.
Fixes #45386.

Location:
branches/5.0/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-admin/css/about.css

    r43913 r43938  
    477477}
    478478
     479.freedoms-php .about-wrap .col .freedoms-image {
     480    background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
     481    background-size: 100%;
     482    padding-top: 100%;
     483}
     484.freedoms-php .about-wrap .col:nth-of-type(2) .freedoms-image {
     485    background-position: 0 34%;
     486}
     487.freedoms-php .about-wrap .col:nth-of-type(3) .freedoms-image {
     488    background-position: 0 66%;
     489}
     490.freedoms-php .about-wrap .col:nth-of-type(4) .freedoms-image {
     491    background-position: 0 100%;
     492}
     493
    479494/*------------------------------------------------------------------------------
    480495  4.0 - Media Queries
     
    508523        min-width: 48% !important;
    509524    }
    510    
     525
    511526    .about-wrap .eight-col .col {
    512527        min-width: 24% !important;
     
    519534        margin: 0 auto;
    520535    }
    521    
     536
    522537    .about-wrap figcaption {
    523538        position: relative;
  • branches/5.0/src/wp-admin/freedoms.php

    r43937 r43938  
    4646<?php else : ?>
    4747<div class="about-wrap-content">
    48     <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>
     48    <div class="feature-section one-col">
     49        <div class="col">
     50            <h2><?php _e( 'Freedoms' ); ?></h2>
     51            <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>
     52        </div>
     53    </div>
    4954
    50     <ol start="0">
    51         <li><p><?php _e( 'You have the freedom to run the program, for any purpose.' ); ?></p></li>
    52         <li><p><?php _e( 'You have access to the source code, the freedom to study how the program works, and the freedom to change it to make it do what you wish.' ); ?></p></li>
    53         <li><p><?php _e( 'You have the freedom to redistribute copies of the original program so you can help your neighbor.' ); ?></p></li>
    54         <li><p><?php _e( 'You have the freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes.' ); ?></p></li>
    55     </ol>
     55    <div class="feature-section four-col">
     56        <div class="col">
     57            <div class="freedoms-image"></div>
     58            <h3><?php _e( 'The 1st Freedom' ); ?></h3>
     59            <p><?php _e( 'To run the program for any purpose.' ); ?></p>
     60        </div>
     61        <div class="col">
     62            <div class="freedoms-image"></div>
     63            <h3><?php _e( 'The 2nd Freedom' ); ?></h3>
     64            <p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
     65        </div>
     66        <div class="col">
     67            <div class="freedoms-image"></div>
     68            <h3><?php _e( 'The 3rd Freedom' ); ?></h3>
     69            <p><?php _e( 'To redistribute.' ); ?></p>
     70        </div>
     71        <div class="col">
     72            <div class="freedoms-image"></div>
     73            <h3><?php _e( 'The 4th Freedom' ); ?></h3>
     74            <p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
     75        </div>
     76    </div>
    5677
    57     <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>
     78    <div class="feature-section one-col">
     79        <div class="col">
     80            <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>
    5881
    59     <p><?php
     82            <p><?php
    6083
    61     $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
    62     $themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
     84            $plugins_url = current_user_can( 'activate_plugins' ) ? admin_url( 'plugins.php' ) : __( 'https://wordpress.org/plugins/' );
     85            $themes_url = current_user_can( 'switch_themes' ) ? admin_url( 'themes.php' ) : __( 'https://wordpress.org/themes/' );
    6386
    64     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/' ); ?></p>
     87            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/' ); ?></p>
    6588
    66     <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>
     89            <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>
     90        </div>
     91    </div>
    6792</div>
    6893
Note: See TracChangeset for help on using the changeset viewer.