Plugin Directory

Changeset 645521


Ignore:
Timestamp:
12/28/2012 08:02:19 PM (13 years ago)
Author:
misternifty
Message:

Added commenting to debug template

File:
1 edited

Legend:

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

    r645518 r645521  
    11<?php
    22defined('ABSPATH') || die();
     3
     4#Render the entire page to buffer to process to log all actions and filters
    35ob_start();?>
    46<!doctype html>
     
    2224ob_get_clean();
    2325
    24 #Render the entire page to buffer to process to log all actions and filters
     26#Render debug_this action buffer
    2527ob_start();
    2628do_action('debug_this', Debug_This::$mode);
    2729$debug = ob_get_contents();
    2830ob_get_clean();
     31
     32#Output HTML with included $debug markup
    2933$html = str_replace('%DEBUG%', $debug, $html);
    3034echo $html;
Note: See TracChangeset for help on using the changeset viewer.