WordPress.org

Making WordPress.org

Changeset 9252


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

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

Props jonoaldersonwp.
Fixes #4811.

Location:
sites/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/core/wporg-menu.html

    r3139 r9252  
    1414                <li class="icon browser"><a title="Browse Source" href="https://core.trac.wordpress.org/browser">Browse Source</a></li>
    1515                <li class="icon timeline"><a title="Trac Timeline" href="https://core.trac.wordpress.org/timeline">Trac Timeline</a></li>
    16                 <li class="icon newticket"><a title="Create a New Ticket" href="https://login.wordpress.org/?redirect_to=https://core.trac.wordpress.org/newticket">Create a New Ticket</a></li>
     16                <li class="icon newticket"><a title="Create a New Ticket" href="https://login.wordpress.org/?redirect_to=https://core.trac.wordpress.org/newticket" rel="nofollow">Create a New Ticket</a></li>
    1717            </ul></div>
    1818        </div>
  • sites/trunk/trac.wordpress.org/templates/site.html

    r9241 r9252  
    260260    <h1 py:attrs="select('@*')">${select('*|comment()|text()')}</h1>
    261261    <span class="create-new-ticket button button-large button-primary">
    262         <a href="https://login.wordpress.org/?redirect_to=https://${project_slug}.trac.wordpress.org/newticket">Create a new ticket</a>
     262        <a href="https://login.wordpress.org/?redirect_to=https://${project_slug}.trac.wordpress.org/newticket" rel="nofollow">Create a new ticket</a>
    263263    </span>
    264264</div>
  • 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.