Skip to:
Content

BuddyPress.org

Ticket #6976: 6976.patch

File 6976.patch, 756 bytes (added by slaFFik, 9 years ago)
  • src/bp-core/bp-core-functions.php

     
    22692269 * @since 1.0.0
    22702270 */
    22712271function bp_core_print_generation_time() {
    2272 ?>
    2273 
    2274 <!-- Generated in <?php timer_stop(1); ?> seconds. (<?php echo get_num_queries(); ?> q) -->
    2275 
    2276         <?php
     2272        if ( WP_DEBUG ) {
     2273                echo '<!-- Generated in ' . timer_stop() . ' seconds. (' . get_num_queries() . ' q) -->';
     2274        }
    22772275}
    2278 add_action( 'wp_footer', 'bp_core_print_generation_time' );
     2276add_action( 'wp_footer', 'bp_core_print_generation_time', 99999 );
    22792277
    22802278/**
    22812279 * Remove "prev" and "next" relational links from <head> on BuddyPress pages.