Making WordPress.org

Ticket #4909: 4909.diff

File 4909.diff, 10.8 KB (added by valentinbora, 5 years ago)

Update codex links to handbook in wporg-support and wporg-forums themes

  • wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/form-topic.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/form-topic.php wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/form-topic.php
    index 77642d8c3..b8768c49b 100644
     
    4141                                                <p><?php _e( 'When posting a new topic, follow these steps:', 'wporg-forums' ); ?></p>
    4242                                                <ul>
    4343                                                        <li><?php
    44                                                                 /* translators: %s: Codex URL for forum welcome */
    45                                                                 printf( __( '<strong>Read the <a href="%s">Forum Welcome</a></strong> to find out how to maximize your odds of getting help!', 'wporg-forums' ), esc_url( __( 'https://codex.wordpress.org/Forum_Welcome', 'wporg-forums' ) ) );
     44                                                                /* translators: %s: Support URL for forum welcome */
     45                                                                printf( __( '<strong>Read the <a href="%s">Forum Welcome</a></strong> to find out how to maximize your odds of getting help!', 'wporg-forums' ), esc_url( __( 'https://wordpress.org/support/welcome/', 'wporg-forums' ) ) );
    4646                                                        ?></li>
    4747                                                        <li><?php
    4848                                                                /* translators: %s: URL to search */
  • wordpress.org/public_html/wp-content/themes/pub/wporg-forums/page-homepage.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-forums/page-homepage.php wordpress.org/public_html/wp-content/themes/pub/wporg-forums/page-homepage.php
    index 56a391f2d..6412ead24 100644
    get_header(); ?> 
    1818
    1919                <div class="col-6" id="forum-welcome">
    2020
    21                         <p class="intro"><?php _e( 'We&rsquo;ve got a variety of resources to help you get the most out of WordPress. Your first stop should be our <a href="https://codex.wordpress.org">documentation</a>, where you&rsquo;ll find information on everything from installing WordPress for the first time to creating your own themes&nbsp;and&nbsp;plugins.', 'wporg-forums' ); ?></p>
     21                        <p class="intro"><?php _e( 'We&rsquo;ve got a variety of resources to help you get the most out of WordPress. Your first stop should be our <a href="https://wordpress.org/support/">documentation</a>, where you&rsquo;ll find information on everything from installing WordPress for the first time to creating your own themes&nbsp;and&nbsp;plugins.', 'wporg-forums' ); ?></p>
    2222                        <h3><?php _e( 'Getting Started Resources', 'wporg-forums' ); ?></h3>
    2323                        <p><?php _e( 'If you need help getting started with WordPress, try these articles.', 'wporg-forums' ); ?></p>
    2424                        <ul>
    25                                 <li><?php _e( '<a href="https://codex.wordpress.org/Forum_Welcome">Welcome to the WordPress Support Forum</a>', 'wporg-forums' ); ?></li>
    26                                 <li><?php _e( '<a href="https://codex.wordpress.org/New_To_WordPress_-_Where_to_Start">New to WordPress &mdash; Where to Start</a>', 'wporg-forums' ); ?></li>
    27                                 <li><?php _e( '<a href="https://codex.wordpress.org/FAQ_Installation">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums' ); ?></li>
    28                                 <li><?php _e( '<a href="https://codex.wordpress.org/First_Steps_With_WordPress">First Steps with WordPress</a>', 'wporg-forums' ); ?></li>
    29                                 <li><?php _e( '<a href="https://codex.wordpress.org/Writing_Posts">Writing Posts</a>', 'wporg-forums' ); ?></li>
     25                                <li><?php _e( '<a href="https://wordpress.org/support/welcome/">Welcome to the WordPress Support Forum</a>', 'wporg-forums' ); ?></li>
     26                                <li><?php _e( '<a href="https://wordpress.org/support/article/new_to_wordpress_-_where_to_start/">New to WordPress &mdash; Where to Start</a>', 'wporg-forums' ); ?></li>
     27                                <li><?php _e( '<a href="https://wordpress.org/support/article/faq-installation/">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums' ); ?></li>
     28                                <li><?php _e( '<a href="https://wordpress.org/support/article/first-steps-with-wordpress/">First Steps with WordPress</a>', 'wporg-forums' ); ?></li>
     29                                <li><?php _e( '<a href="https://wordpress.org/support/article/writing-posts/">Writing Posts</a>', 'wporg-forums' ); ?></li>
    3030                                <li><?php _e( '<a href="https://make.wordpress.org/support/handbook/">Support Handbook</a>', 'wporg-forums' ); ?></li>
    3131                                <li><?php _e( '<a href="https://make.wordpress.org/support/handbook/contributing-to-the-wordpress-forums/support-forums-in-your-language/">Support Forums in Your Language</a>', 'wporg-forums' ); ?></li>
    3232                        </ul>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/header.php
    index c3e924364..016b5e58c 100644
    namespace WordPressdotorg\Forums; 
    1414$menu_items = array(
    1515        /* translators: relative link to the forums home page */
    1616        _x( '/forums/', 'header menu', 'wporg-forums' )                                     => _x( 'Forums', 'header menu', 'wporg-forums' ),
    17         _x( 'https://codex.wordpress.org/Main_Page', 'header menu', 'wporg-forums' )        => _x( 'Documentation', 'header menu', 'wporg-forums' ),
     17        _x( 'https://wordpress.org/support/', 'header menu', 'wporg-forums' )                   => _x( 'Documentation', 'header menu', 'wporg-forums' ),
    1818        _x( 'https://make.wordpress.org/support/handbook/', 'header menu', 'wporg-forums' ) => _x( 'Get Involved', 'header menu', 'wporg-forums' ),
    1919);
    2020
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-homepage.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-homepage.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/page-homepage.php
    index edb88bfa5..05ea8d831 100644
    get_header(); ?> 
    4242                                        ?>"></span>
    4343                                        <h3><?php _e( 'Documentation', 'wporg-forums' ); ?></h3>
    4444                                        <p><?php _e( 'Your first stop where you\'ll find information on everything from installing to creating plugins.', 'wporg-forums' ); ?></p>
    45                                         <p><?php _e( '<a href="https://codex.wordpress.org/">Explore documentation</a>', 'wporg-forums' ); ?></p>
     45                                        <p><?php _e( '<a href="https://wordpress.org/support/">Explore documentation</a>', 'wporg-forums' ); ?></p>
    4646                                </div>
    4747                        </div>
    4848                        <div>
    get_header(); ?> 
    7676                        <div>
    7777                                <h3><?php _e( 'Helpful Links', 'wporg-forums' ); ?></h3>
    7878                                <ul class="meta-list">
    79                                         <li><?php _e( '<a href="https://codex.wordpress.org/New_To_WordPress_-_Where_to_Start">New to WordPress &mdash; Where to Start</a>', 'wporg-forums' ); ?></li>
    80                                         <li><?php _e( '<a href="https://codex.wordpress.org/FAQ_Installation">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums' ); ?></li>
    81                                         <li><?php _e( '<a href="https://codex.wordpress.org/First_Steps_With_WordPress">First Steps with WordPress</a>', 'wporg-forums' ); ?></li>
    82                                         <li><?php _e( '<a href="https://codex.wordpress.org/Writing_Posts">Writing Posts</a>', 'wporg-forums' ); ?></li>
     79                                        <li><?php _e( '<a href="https://wordpress.org/support/article/new_to_wordpress_-_where_to_start/">New to WordPress &mdash; Where to Start</a>', 'wporg-forums' ); ?></li>
     80                                        <li><?php _e( '<a href="https://wordpress.org/support/article/faq-installation/">Frequently Asked Questions about Installing WordPress</a>', 'wporg-forums' ); ?></li>
     81                                        <li><?php _e( '<a href="https://wordpress.org/support/article/first-steps-with-wordpress-classic/">First Steps with WordPress</a>', 'wporg-forums' ); ?></li>
     82                                        <li><?php _e( '<a href="https://wordpress.org/support/article/writing-posts/">Writing Posts</a>', 'wporg-forums' ); ?></li>
    8383                                </ul>
    8484                        </div>
    8585                </section>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/bbpress-front.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/bbpress-front.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/bbpress-front.php
    index a68b53cca..b901879c3 100644
     
    22/**
    33 * Template part for displaying bbPress topics on the front page.
    44 *
    5  * @link https://codex.wordpress.org/Template_Hierarchy
     5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    77 * @package WPBBP
    88 */
     
    3737                                        "></span>
    3838                        <h3><?php _e( 'Documentation', 'wporg-forums' ); ?></h3>
    3939                        <p><?php _e( 'Your first stop where you\'ll find information on everything from installing to creating plugins.', 'wporg-forums' ); ?></p>
    40                         <p><?php _e( '<a href="https://codex.wordpress.org/">Explore documentation</a>', 'wporg-forums' ); ?></p>
     40                        <p><?php _e( '<a href="https://wordpress.org/support/">Explore documentation</a>', 'wporg-forums' ); ?></p>
    4141                </div>
    4242        </div>
    4343        <div>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-archive.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-archive.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-archive.php
    index ef968bfd2..06996b513 100644
     
    22/**
    33 * Template part for displaying single posts in an archive list.
    44 *
    5  * @link https://codex.wordpress.org/Template_Hierarchy
     5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    77 * @package WPBBP
    88 */
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-page.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-page.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-page.php
    index bda05dfeb..5ec38f02b 100644
     
    22/**
    33 * Template part for displaying page content in page.php.
    44 *
    5  * @link https://codex.wordpress.org/Template_Hierarchy
     5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    77 * @package WPBBP
    88 */
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-single.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-single.php wordpress.org/public_html/wp-content/themes/pub/wporg-support/template-parts/content-single.php
    index c7824163b..428d5040c 100644
     
    22/**
    33 * Template part for displaying page content in page.php.
    44 *
    5  * @link https://codex.wordpress.org/Template_Hierarchy
     5 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    77 * @package WPBBP
    88 */