Ticket #6976: 6976.patch
File 6976.patch, 756 bytes (added by , 9 years ago) |
---|
-
src/bp-core/bp-core-functions.php
2269 2269 * @since 1.0.0 2270 2270 */ 2271 2271 function 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 } 2277 2275 } 2278 add_action( 'wp_footer', 'bp_core_print_generation_time' );2276 add_action( 'wp_footer', 'bp_core_print_generation_time', 99999 ); 2279 2277 2280 2278 /** 2281 2279 * Remove "prev" and "next" relational links from <head> on BuddyPress pages.