Making WordPress.org

Changeset 13072


Ignore:
Timestamp:
12/20/2023 02:09:03 AM (3 years ago)
Author:
dd32
Message:

Make: noindex the paginated hosting test results.

Props tellyworth, jonoaldersonwp.
Fixes #5398.
Closes https://github.com/WordPress/wordpress.org/pull/123.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/functions.php

    r12278 r13072  
    5454function no_robots( $noindex ) {
    5555        if ( is_tax( 'mentions' ) ) {
     56                $noindex = true;
     57        }
     58
     59        // This is used by https://github.com/WordPress/phpunit-test-reporter/blob/master/src/class-display.php on the test reporter page
     60        if ( isset( $_GET['rpage'] ) ) {
    5661                $noindex = true;
    5762        }
Note: See TracChangeset for help on using the changeset viewer.