Skip to:
Content

BuddyPress.org

Changeset 10723


Ignore:
Timestamp:
04/27/2016 04:23:57 PM (9 years ago)
Author:
boonebgorges
Message:

Deprecate bp_core_print_generation_time().

Props slaFFik.
Fixes #6976.

Location:
trunk/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-functions.php

    r10717 r10723  
    22652265
    22662266/**
    2267  * Print the generation time in the footer of the site.
    2268  *
    2269  * @since 1.0.0
    2270  */
    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
    2277 }
    2278 add_action( 'wp_footer', 'bp_core_print_generation_time' );
    2279 
    2280 /**
    22812267 * Remove "prev" and "next" relational links from <head> on BuddyPress pages.
    22822268 *
  • trunk/src/bp-loader.php

    r10693 r10723  
    522522            require( $this->plugin_dir . 'bp-core/deprecated/2.4.php' );
    523523            require( $this->plugin_dir . 'bp-core/deprecated/2.5.php' );
     524            require( $this->plugin_dir . 'bp-core/deprecated/2.6.php' );
    524525        }
    525526    }
Note: See TracChangeset for help on using the changeset viewer.