Changeset 646380
- Timestamp:
- 12/31/2012 01:09:47 PM (13 years ago)
- File:
-
- 1 edited
-
debug-this/trunk/_inc/extensions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
debug-this/trunk/_inc/extensions.php
r646375 r646380 278 278 279 279 public function css($buffer, $template){ 280 global $css; 280 //Make backwards compatible for no pretty permalinks 281 global $wp; 281 282 $debug = sprintf(__('Template: %s', 'debug-this'), $template)."\n"; 282 283 $debug .= sprintf(__('URL: %s', 'debug-this'), get_bloginfo('url').'/'.$wp->request)."\n"; … … 435 436 436 437 public function js($buffer, $template){ 438 //make backwards compatible for no permalinks 437 439 global $wp; 438 440 $debug = sprintf(__('Template: %s', 'debug-this'), $template)."\n"; … … 445 447 446 448 public function load_time($buffer, $template){ 449 //make backwards compatible for no permalinks 447 450 global $wp; 448 451 $debug = sprintf(__('Template: %s', 'debug-this'), $template)."\n";
Note: See TracChangeset
for help on using the changeset viewer.