WordPress.org

Making WordPress.org

Changeset 219


Ignore:
Timestamp:
01/06/2014 08:46:45 PM (7 years ago)
Author:
nacin
Message:

Trac: Add trac-security.js to /newticket views. fixes #265.

File:
1 edited

Legend:

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

    r215 r219  
    210210    </script>
    211211    <script src="//wordpress.org/style/trac/wp-trac.js?${scripts_version}"></script>
     212    <script py:if="req.environ['PATH_INFO'] == '/newticket'" src="//wordpress.org/style/trac/trac-security.js?${scripts_version}"></script>
    212213    <py:if test="project_slug == 'core'">
    213         <py:if test="req.environ['PATH_INFO'] == '/newticket'">
    214             <script src="//wordpress.org/style/trac/trac-search.js?${scripts_version}"></script>
    215         </py:if>
     214        <script py:if="req.environ['PATH_INFO'] == '/newticket'" src="//wordpress.org/style/trac/trac-search.js?${scripts_version}"></script>
    216215    <script type="text/javascript">
    217216    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
Note: See TracChangeset for help on using the changeset viewer.