• Plugin Author silasco

    (@silasco)


    I was doing some integration work and noticed that I could not click on the debug bar. This is because the plugin I was working on adds more html content using wp_footer. You should try as much as possible to have the debug output as the last thing before the closing </body> tag. Therefore I will be making use of the optional ‘priority’ argument in do_action calls. I made this an arbitrary 1000.
    add_action('wp_footer',array('wp_pear_debug','show'),1000);
    I am not sure if I should put this in the package as some people may for some reason or another want to have things outputted after the debug output.

    I hope this can help anyone experiencing layout issues with this plugin.

    http://wordpress.org/extend/plugins/wp-pear-debug/

  • The topic ‘[Plugin: wp pear debug] adding html in wp_footer might break the layout. Here is a fix’ is closed to new replies.