Making WordPress.org

Changeset 10192


Ignore:
Timestamp:
08/20/2020 07:45:41 PM (6 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

https://github.com/WordPress/learn/compare/38e7793fd20434d72ca898988d017ba2009fb677...3ee18f705ae3d027fff4434eb08917ef16c955b8

Location:
sites/trunk/wordpress.org/public_html/wp-content
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/class-lesson-plan.php

    r10169 r10192  
    277277
    278278    /**
    279      * o2 does inline editing, so we also need to remove the class name that it looks for.
    280      *
    281      * o2 obeys the edit_post capability for displaying the edit link, so we also need to manually
     279     * The o2 plugin does inline editing, so we also need to remove the class name that it looks for.
     280     *
     281     * The o2 plugin obeys the edit_post capability for displaying the edit link, so we also need to manually
    282282     * add the edit link if it isn't there - it always redirects to GitHub, so it doesn't need to
    283283     * obey the edit_post capability in this instance.
     
    332332    }
    333333
     334    /**
     335     * Get a link to the wptrainingteam GitHub repo.
     336     *
     337     * @param int $post_id
     338     *
     339     * @return mixed|string|string[]|\WP_Error
     340     */
    334341    private static function get_markdown_edit_link( $post_id ) {
    335342        $markdown_source = Markdown_Import::get_markdown_source( $post_id );
     
    347354    }
    348355
     356    /**
     357     * Source images from the GitHub repo.
     358     *
     359     * @param string $content
     360     *
     361     * @return string|string[]
     362     */
    349363    public static function replace_image_links( $content ) {
    350364        $post_id         = get_the_ID();
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/archive-wporg_workshop.php

    r10166 r10192  
    1313        <div class="row align-middle between section-heading section-heading--with-space">
    1414            <h1 class="section-heading_title h2"><?php esc_html_e( 'Workshops', 'wporg-learn' ); ?></h1>
    15             <a class="section-heading_link button button-large" href="https://wordcampcentral.survey.fm/learn-wordpress-workshop-application"><?php esc_html_e( 'Submit Workshop Idea', 'wporg-learn' ); ?></a>
     15            <a class="section-heading_link button button-large" href="https://learn.wordpress.org/workshop-presenter-application/"><?php esc_html_e( 'Submit Workshop Idea', 'wporg-learn' ); ?></a>
    1616        </div>
    1717        <hr>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-submit-idea-cta.php

    r10169 r10192  
    1717    <?php endif; ?>
    1818    <h2><?php esc_html_e( 'Have an Idea for a Workshop? Let us know!', 'wporg-learn' ); ?></h2>
    19     <a class="button button-primary button-large" href="https://wordcampcentral.survey.fm/learn-wordpress-workshop-application"><?php esc_html_e( 'Submit an Idea', 'wporg-learn' ); ?></a>
     19    <a class="button button-primary button-large" href="https://learn.wordpress.org/workshop-presenter-application/"><?php esc_html_e( 'Submit an Idea', 'wporg-learn' ); ?></a>
    2020</section>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/content-single.php

    r10169 r10192  
    6666                        <p><?php esc_html_e( 'Found a typo, grammar error,or outdated screenshot?', 'wporg-learn' ); ?></p>
    6767                        <p><?php esc_html_e( 'Used this lesson plan in your event and have some suggestions?', 'wporg-learn' ); ?></p>
    68                         <a href="https://wordcampcentral.survey.fm/learn-wordpress-workshop-application"><?php esc_html_e( 'Let us know!', 'wporg-learn' ); ?></a>
     68                        <a href="https://learn.wordpress.org/report-content-errors/"><?php esc_html_e( 'Let us know!', 'wporg-learn' ); ?></a>
    6969                    </div>
    7070                </div>
Note: See TracChangeset for help on using the changeset viewer.