Changeset 10192
- Timestamp:
- 08/20/2020 07:45:41 PM (6 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 4 edited
-
plugins/wporg-learn/inc/class-lesson-plan.php (modified) (3 diffs)
-
themes/pub/wporg-learn-2020/archive-wporg_workshop.php (modified) (1 diff)
-
themes/pub/wporg-learn-2020/template-parts/component-submit-idea-cta.php (modified) (1 diff)
-
themes/pub/wporg-learn-2020/template-parts/content-single.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/class-lesson-plan.php
r10169 r10192 277 277 278 278 /** 279 * o2does inline editing, so we also need to remove the class name that it looks for.280 * 281 * o2obeys the edit_post capability for displaying the edit link, so we also need to manually279 * 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 282 282 * add the edit link if it isn't there - it always redirects to GitHub, so it doesn't need to 283 283 * obey the edit_post capability in this instance. … … 332 332 } 333 333 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 */ 334 341 private static function get_markdown_edit_link( $post_id ) { 335 342 $markdown_source = Markdown_Import::get_markdown_source( $post_id ); … … 347 354 } 348 355 356 /** 357 * Source images from the GitHub repo. 358 * 359 * @param string $content 360 * 361 * @return string|string[] 362 */ 349 363 public static function replace_image_links( $content ) { 350 364 $post_id = get_the_ID(); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/archive-wporg_workshop.php
r10166 r10192 13 13 <div class="row align-middle between section-heading section-heading--with-space"> 14 14 <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> 16 16 </div> 17 17 <hr> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/component-submit-idea-cta.php
r10169 r10192 17 17 <?php endif; ?> 18 18 <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> 20 20 </section> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/template-parts/content-single.php
r10169 r10192 66 66 <p><?php esc_html_e( 'Found a typo, grammar error,or outdated screenshot?', 'wporg-learn' ); ?></p> 67 67 <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> 69 69 </div> 70 70 </div>
Note: See TracChangeset
for help on using the changeset viewer.