Make WordPress Core

Changeset 56220

Timestamp:
07/12/2023 12:52:26 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Help/About: Add a “Get Involved” tab to the About page.

This aims to make all the various ways of contributing to open-source WordPress project more discoverable, as well as make it easier to find an area that aligns with new contributor’s skills and interests.

Props oglekler, jpantani, SeReedMedia, ryelle, marybaum, karmatosed, eidolonnight, mt_suzette, Shelob9, desrosj, cathibosco1, jenmylo, nacin, helen, joostdevalk, hugobaeta, TacoVerdo, swissspidy, markoheijnen, lukecavanagh, boemedia, bridgetwillard, jeffmora, davidmusnik, mehdi01, johnbillion, fierevere, tobifjellner, richtabor, meher, courane01, webcommsat, audrasjb, mukesh27, davidbaumwald, costdev, joedolson, robinwpdeveloper, estelaris, mohiuddinomran, SergeyBiryukov.
See #23348.

Location:
trunk/src
Files:
1 added
6 edited

Legend:

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

    r55853 r56220  
    4141            <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    4242            <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
     43
    4344        </nav>
    4445
  • trunk/src/wp-admin/credits.php

    r55499 r56220  
    4545        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    4646        <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
     47
    4748    </nav>
    4849
  • trunk/src/wp-admin/css/about.css

    r55499 r56220  
    22  22.0 - About Pages
    33
    4    1.0 Global: About, Credits, Freedoms, Privacy
     4   1.0 Global: About, Credits, Freedoms, Privacy
    55    1.1 Layout
    66    1.2 Typography & Elements
     
    4343
    4444/*------------------------------------------------------------------------------
    45   1.0 - Global: About, Credits, Freedoms, Privacy
     45  1.0 - Global: About, Credits, Freedoms, Privacy
    4646------------------------------------------------------------------------------*/
    4747
     
    4949.credits-php,
    5050.freedoms-php,
    51 .privacy-php {
     51.privacy-php,
     52.contribute-php {
    5253    background: #fff;
    5354}
     
    5657.credits-php #wpcontent,
    5758.freedoms-php #wpcontent,
    58 .privacy-php #wpcontent {
     59.privacy-php #wpcontent,
     60.contribute-php #wpcontent {
    5961    background: #fff;
    6062    padding: 0 24px;
     
    6567    .credits-php.auto-fold #wpcontent,
    6668    .freedoms-php.auto-fold #wpcontent,
    67     .privacy-php.auto-fold #wpcontent {
     69    .privacy-php.auto-fold #wpcontent,
     70    .contribute-php.auto-fold #wpcontent {
    6871        padding-left: 24px;
    6972    }
     
    575578
    576579.credits-php .about__header-title h1,
     580
    577581.privacy-php .about__header-title h1,
    578 .freedoms-php .about__header-title h1 {
     582.-php .about__header-title h1 {
    579583    /* Fluid font size scales on browser size 960px - 1200px. */
    580584    font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
     
    647651
    648652    .credits-php .about__header-title h1,
     653
    649654    .privacy-php .about__header-title h1,
    650     .freedoms-php .about__header-title h1 {
     655    .-php .about__header-title h1 {
    651656        /* Fluid font size scales on browser size 600px - 960px. */
    652657        font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
     
    685690        min-height: auto;
    686691    }
    687 }
    688 
    689 @media screen and (max-width: 480px) {
     692
    690693    .about__header,
    691694    .credits-php .about__header,
     695
    692696    .privacy-php .about__header,
    693     .freedoms-php .about__header {
     697    .-php .about__header {
    694698        background-image: none;
    695699    }
  • trunk/src/wp-admin/freedoms.php

    r55499 r56220  
    4242        <a href="freedoms.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Freedoms' ); ?></a>
    4343        <a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
     44
    4445    </nav>
    4546
  • trunk/src/wp-admin/privacy.php

    r55499 r56220  
    3636        <a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
    3737        <a href="privacy.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Privacy' ); ?></a>
     38
    3839    </nav>
    3940
  • trunk/src/wp-includes/admin-bar.php

    r56209 r56220  
    123123function wp_admin_bar_wp_menu( $wp_admin_bar ) {
    124124    if ( current_user_can( 'read' ) ) {
    125         $about_url = self_admin_url( 'about.php' );
     125        $about_url      = self_admin_url( 'about.php' );
     126        $contribute_url = self_admin_url( 'contribute.php' );
    126127    } elseif ( is_multisite() ) {
    127         $about_url = get_dashboard_url( get_current_user_id(), 'about.php' );
     128        $about_url      = get_dashboard_url( get_current_user_id(), 'about.php' );
     129        $contribute_url = get_dashboard_url( get_current_user_id(), 'contribute.php' );
    128130    } else {
    129         $about_url = false;
     131        $about_url      = false;
     132        $contribute_url = false;
    130133    }
    131134
     
    156159                'title'  => __( 'About WordPress' ),
    157160                'href'   => $about_url,
     161
     162
     163
     164
     165
     166
     167
     168
     169
     170
     171
     172
    158173            )
    159174        );
Note: See TracChangeset for help on using the changeset viewer.