WordPress.org

Forums

WP Hide Post
A lot of logging garbage if WP_DEBUG is set (4 posts)

  1. JochenT
    Member
    Posted 1 year ago #

    In your plugin you activate your debugging mode automatically if WP_DEBUG is set to true. This creates a lot of logging messages like:

    WPHP-> called: wphp_query_posts_where
    WPHP-> called: wphp_query_posts_join

    This is not very useful. At all if someone is trying to monitor messages from his own code or other plugins.

    It would be nice to decouple your script debugging from general WordPress debugging.

    http://wordpress.org/plugins/wp-hide-post/

  2. Scott Allen
    Member
    Posted 8 months ago #

    I agree with JochenT on this one.

  3. Joerg
    Member
    Posted 7 months ago #

    Agree, but the plugin is not longer maintained anyway as the last update was done one year ago, is there a similar plugin to get this replaced?

  4. qstudio
    Member
    Posted 4 months ago #

    if it's no longer maintained, you can hack it!

    wp-hide-post.php:40

    define('WPHP_DEBUG', defined('WP_DEBUG') && WP_DEBUG ? 1 : 0);

    becomes:

    #define('WPHP_DEBUG', defined('WP_DEBUG') && WP_DEBUG ? 1 : 0);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags