Making WordPress.org

Changeset 1997


Ignore:
Timestamp:
10/18/2015 09:50:04 PM (9 years ago)
Author:
nacin
Message:

Trac: Use Trac's project.name instead of our own variable. see #719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/site.html

    r1996 r1997  
    1212    if project_slug == 'core':
    1313        notifications_enabled = 1
    14         project_name = 'WordPress'
    1514
    1615    if project_slug == 'bbpress' :
    1716        support_link = '//bbpress.org/forums/'
    18         project_name = 'bbPress'
    1917    elif project_slug == 'buddypress' :
    2018        support_link = '//buddypress.org/support/topics/'
    21         project_name = 'BuddyPress'
    2219    else :
    2320        support_link = '//wordpress.org/support/'
     
    123120        <py:if test="project_slug in ['core', 'bbpress', 'buddypress']">
    124121        <div class="newticket-instructions">
    125             <p><strong>This form is for reporting bugs in ${project_name}.</strong> Here are some questions and tips to help you write a great bug report:</p>
     122            <p><strong>This form is for reporting bugs in ${project.name}.</strong> Here are some questions and tips to help you write a great bug report:</p>
    126123            <ul>
    127                 <li>Are you using either the latest version of ${project_name}, or the latest development version? If not, please update first.</li>
     124                <li>Are you using either the latest version of ${project.name}, or the latest development version? If not, please update first.</li>
    128125                <li>What steps should be taken to consistently reproduce the problem?</li>
    129126                <li>Does the problem occur even when you deactivate all plugins and use the default theme?</li>
Note: See TracChangeset for help on using the changeset viewer.