Making WordPress.org


Ignore:
Timestamp:
08/13/2020 11:43:14 PM (6 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

https://github.com/WordPress/learn/compare/1accd3db38a60230689bdc157f9e82081d35d163...38e7793fd20434d72ca898988d017ba2009fb677

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/front-page.php

    r10166 r10169  
    1414                <a class="parallelogram workshop-ideas dashicons-before dashicons-slides" href="/workshops/">
    1515                    <p>
    16                         <strong><?php _e( 'Workshops', 'wporg-forums' ); ?></strong>
     16                        <strong><?php esc_html_e( 'Workshops', 'wporg-learn' ); ?></strong>
    1717                        <?php
    18                         _e( 'Workshops are a great way to get hands-on with WordPress. Here are some workshops for you to level up your WordPress skills.', 'wporg-learn' );
     18                        esc_html_e( 'Workshops are a great way to get hands-on with WordPress. Here are some workshops for you to level up your WordPress skills.', 'wporg-learn' );
    1919                        ?>
    20                         <u><?php _e( 'Browse Workshops' ); ?></u>
     20                        <u><?php esc_html_e( 'Browse Workshops', 'wporg-learn' ); ?></u>
    2121                    </p>
    2222                </a>
    2323                <a class="parallelogram lesson-plans dashicons-before dashicons-clipboard" href="/lesson-plans/">
    2424                    <p>
    25                         <strong><?php _e( 'Lesson Plans', 'wporg-forums' ); ?></strong>
     25                        <strong><?php esc_html_e( 'Lesson Plans', 'wporg-learn' ); ?></strong>
    2626                        <?php
    27                             _e( 'Are you teaching WordPress to others? These lesson plans are designed to guide and inspire you to deliver great content.', 'wporg-learn' );
     27                        esc_html_e( 'Are you teaching WordPress to others? These lesson plans are designed to guide and inspire you to deliver great content.', 'wporg-learn' );
    2828                        ?>
    29                         <u><?php _e( 'See the Lesson Plans' ); ?></u>
     29                        <u><?php esc_html_e( 'See the Lesson Plans', 'wporg-learn' ); ?></u>
    3030                    </p>
    3131                </a>
     
    3737                <div class="graphic"><span class="dashicons dashicons-welcome-learn-more"></span></div>
    3838                <div>
    39                     <h2 class="h3"><?php _e( 'Get Involved' ); ?></h2>
    40                     <p><?php _e( 'Want to grow WordPress? As part of Training Team you could help others learn WordPress accross the world.' ); ?></p>
    41                     <a href="https://make.wordpress.org/training/handbook/"><?php _e( 'Learn About The Training Team' ); ?></a>
     39                    <h2 class="h3"><?php esc_html_e( 'Get Involved', 'wporg-learn' ); ?></h2>
     40                    <p><?php esc_html_e( 'Want to grow WordPress? As part of Training Team you could help others learn WordPress accross the world.', 'wporg-learn' ); ?></p>
     41                    <a href="https://make.wordpress.org/training/handbook/"><?php esc_html_e( 'Learn About The Training Team', 'wporg-learn' ); ?></a>
    4242                </div>
    4343            </div>
     
    5252
    5353            <?php
    54                 $args = array(
    55                     'posts_per_page' => '3',
    56                 );
    57                 set_query_var( 'video-grid-options', $args );
    58                 get_template_part( 'template-parts/component', 'video-grid' );
     54            $args = array(
     55                'posts_per_page' => '3',
     56            );
     57            set_query_var( 'video-grid-options', $args );
     58            get_template_part( 'template-parts/component', 'video-grid' );
    5959            ?>
    6060        </section>
    6161        <hr>
    62        
     62
    6363        <?php get_template_part( 'template-parts/component', 'submit-idea-cta', array( 'icon' => 'lightbulb' ) ); ?>
    6464
     
    7373
    7474            <div id="helphub-forum-link" class="text-center">
    75                 <h3><?php esc_html_e( 'Support Forums', 'wporg-forums' ); ?></h3>
     75                <h3><?php esc_html_e( 'Support Forums', 'wporg-learn' ); ?></h3>
    7676
    7777                <p>
    7878                    <span>
    79                         <?php esc_html_e( 'Can\'t find what you\'re looking for? Find out if others share your experience.', 'wporg-forums' ); ?>
     79                        <?php esc_html_e( 'Can\'t find what you\'re looking for? Find out if others share your experience.', 'wporg-learn' ); ?>
    8080                    </span>
    8181
    8282                    <br>
    8383
    84                     <a href="<?php echo esc_url( site_url( '/forums/' ) ); ?>"><?php esc_html_e( 'Check out our support forums', 'wporg-forums' ); ?></a>
     84                    <a href="<?php echo esc_url( site_url( '/forums/' ) ); ?>"><?php esc_html_e( 'Check out our support forums', 'wporg-learn' ); ?></a>
    8585                </p>
    8686            </div>
Note: See TracChangeset for help on using the changeset viewer.