WordPress.org

Plugin Directory

Changeset 1752216


Ignore:
Timestamp:
10/25/17 04:02:07 (7 weeks ago)
Author:
JaworskiMatt
Message:

3.0.0 minor fixes (language, export, buttons)

Location:
system-report-and-phpinfo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • system-report-and-phpinfo/trunk/pages/page_peepsolog.php

    r1752203 r1752216  
    66    { 
    77        $this->title        = 'PeepSo Log'; 
    8         $this->description  = __('Blah', 'peepsodebug'); 
     8        $this->description  = __('Preview PeepSo logs in real time', 'peepsodebug'); 
    99    } 
    1010 
    1111    public function page() 
    1212    { 
    13         $this->page_start('peepso_log'); 
     13        $this->page_start('peepsolog'); 
    1414 
    1515        $hash = md5(time()); 
     
    4545    { 
    4646        ob_start(); 
    47         phpinfo(); 
     47        if(class_exists('PeepSo') && PeepSo::is_admin()) { 
     48            $path = PeepSo::get_peepso_dir() . 'peepso.log'; 
     49            require($path); 
     50        } 
     51 
    4852        return ob_get_clean(); 
    4953    } 
  • system-report-and-phpinfo/trunk/peepsodebug.php

    r1752203 r1752216  
    8181            $this->pages[$page] = new $class(); 
    8282 
    83             if(isset($_GET['page']) && 'pdt_'.$page == $_GET['page']) { 
     83            if(isset($_GET['page']) && 'peepsodebug_'.$page == $_GET['page']) { 
    8484                add_filter('peepsodebug_buttons',array($class,'peepsodebug_buttons')); 
    8585            } 
Note: See TracChangeset for help on using the changeset viewer.