Plugin Directory

Changeset 646380


Ignore:
Timestamp:
12/31/2012 01:09:47 PM (13 years ago)
Author:
misternifty
Message:

Added todo comments and updated missing global declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debug-this/trunk/_inc/extensions.php

    r646375 r646380  
    278278
    279279    public function css($buffer, $template){
    280         global $css;
     280        //Make backwards compatible for no pretty permalinks
     281        global $wp;
    281282        $debug = sprintf(__('Template: %s', 'debug-this'), $template)."\n";
    282283        $debug .= sprintf(__('URL: %s', 'debug-this'), get_bloginfo('url').'/'.$wp->request)."\n";
     
    435436
    436437    public function js($buffer, $template){
     438        //make backwards compatible for no permalinks
    437439        global $wp;
    438440        $debug = sprintf(__('Template: %s', 'debug-this'), $template)."\n";
     
    445447
    446448    public function load_time($buffer, $template){
     449        //make backwards compatible for no permalinks
    447450        global $wp;
    448451        $debug = sprintf(__('Template: %s', 'debug-this'), $template)."\n";
Note: See TracChangeset for help on using the changeset viewer.