Changeset 876
- Timestamp:
- 02/11/08 13:19:20 (10 months ago)
- Files:
-
- bb-benchmark/trunk/_bb-benchmark.php (modified) (4 diffs)
- bb-benchmark/trunk/readme.txt (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
bb-benchmark/trunk/_bb-benchmark.php
r668 r876 5 5 Description: Prints simple benchmarks and mysql diagnostics, hidden in page footers for administrators. Based on Jerome Lavigne's Query Diagnostics for WordPress. 6 6 Author: _ck_ 7 Author URI: http://CKon.WordPress.com 8 Version: 0.17 9 */ 10 /* 11 INSTRUCTIONS: 7 Author URI: http://bbShowcase.org 8 Version: 0.18 12 9 10 License: CC-GNU-GPL http://creativecommons.org/licenses/GPL/2.0/ 11 12 Donate: http://amazon.com/paypage/P2FBORKDEFQIVM 13 14 Instructions: 13 15 1. put define('SAVEQUERIES', true); into your config.php 14 16 2. install & activate plugin (editing config.php no longer required) … … 16 18 17 19 History: 18 19 20 0.10 : first public release 20 21 0.11 : improved load detection for php in safe mode or without shell access if using PHP5 … … 25 26 0.16 : better unnamed hook tracking so benchmark timer can be inserted almost anywhere 26 27 0.17 : double dashes break html comments and make them visible -- replaced as - - 28 0.18 : add hook to admin panel for plugin admin testing 27 29 */ 28 30 … … 86 88 } 87 89 add_action('bb_foot', 'bb_benchmark_output'); 90 add_action('bb_admin_footer', 'bb_benchmark_output'); 88 91 89 92 // global $bb_current_user; if ($bb_current_user->data->bb_capabilities['keymaster']) :
