Making WordPress.org

Changeset 7389


Ignore:
Timestamp:
07/09/2018 04:14:04 PM (6 years ago)
Author:
obenland
Message:

Main: Always link to main Hosting page.

For as long as there is no page template for Rosetta sites for it, let's make sure these links lead to the intended location.

Props SergeyBiryukov.
See #3673.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-requirements.php

    r7350 r7389  
    6464                        <?php
    6565                        /* translators: 1: URL to Apache; 2: URL to Nginx; 3: URL to hosting page */
    66                         printf( wp_kses_post( __( 'That&#8217;s really it. We recommend <a href="%1$s">Apache</a> or <a href="%2$s">Nginx</a> as the most robust and featureful server for running WordPress, but any server that supports PHP and MySQL will do. That said, we can&#8217;t test every possible environment and <a href="%3$s">each of the hosts on our hosting page</a> supports the above and more with no problems.', 'wporg' ) ), esc_url( 'https://httpd.apache.org/' ), esc_url( 'https://nginx.org/' ), esc_url( home_url( '/hosting/' ) ) );
     66                        printf( wp_kses_post( __( 'That&#8217;s really it. We recommend <a href="%1$s">Apache</a> or <a href="%2$s">Nginx</a> as the most robust and featureful server for running WordPress, but any server that supports PHP and MySQL will do. That said, we can&#8217;t test every possible environment and <a href="%3$s">each of the hosts on our hosting page</a> supports the above and more with no problems.', 'wporg' ) ), esc_url( 'https://httpd.apache.org/' ), esc_url( 'https://nginx.org/' ), esc_url( 'https://wordpress.org/hosting/' ) );
    6767                        ?>
    6868                    </p>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-get.php

    r7383 r7389  
    163163                    <?php endforeach; ?>
    164164
    165                     <a href="<?php echo esc_url( home_url( '/hosting/' ) ); ?>" class="call-to-action col-12"><?php esc_html_e( 'See all of our recommended hosts', 'wporg' ); ?></a>
     165                    <a href="https://wordpress.org/hosting/" class="call-to-action col-12"><?php esc_html_e( 'See all of our recommended hosts', 'wporg' ); ?></a>
    166166                </section>
    167167
Note: See TracChangeset for help on using the changeset viewer.