Making WordPress.org


Ignore:
Timestamp:
02/11/2014 05:24:04 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Add once="true" to BuddyPress/bbPress Trac's wporg-menu.html to speed up python match. Also fix indentation, and update inline comment for BuddyPress's menu.

File:
1 edited

Legend:

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

    r273 r392  
    55
    66    <!--! Pull #metanav out of div#banner and put it into bbpress.org's #subnav -->
    7     <py:match path="div[@id='banner']" buffer="true">
     7    <py:match path="div[@id='banner']" buffer="true" once="true">
    88        <div id="subnav">
    99            <div id="subnav-inner">
    10                     <ul id="nav-user" class="menu">
    11                         ${select("div[@id='metanav']/ul/li")}
    12                     </ul>
     10                <ul id="nav-user" class="menu">
     11                    ${select("div[@id='metanav']/ul/li")}
     12                </ul>
    1313            </div>
    1414        </div>
Note: See TracChangeset for help on using the changeset viewer.