WordPress.org

Making WordPress.org


Ignore:
Timestamp:
11/03/2019 01:21:24 PM (5 weeks ago)
Author:
SergeyBiryukov
Message:

Trac: Add rel="nofollow" to "Create a New Ticket" link.

Props jonoaldersonwp.
Fixes #4811.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php

    r8905 r9252  
    471471
    472472        if ( is_singular() ) {
    473             echo '<div><a class="create-new-ticket button button-large button-primary" href="https://login.wordpress.org/?redirect_to=' . urlencode( 'https://core.trac.wordpress.org/newticket?component=' . urlencode( $component ) ) . '">Create a new ticket</a></div>';
     473            echo '<div><a class="create-new-ticket button button-large button-primary" href="https://login.wordpress.org/?redirect_to=' . urlencode( 'https://core.trac.wordpress.org/newticket?component=' . urlencode( $component ) ) . '" rel="nofollow">Create a new ticket</a></div>';
    474474        }
    475475
Note: See TracChangeset for help on using the changeset viewer.