WordPress.org

Forums

BlackBox Debug Bar
Added WP Constants (4 posts)

  1. Michael Cannon
    Member
    Posted 1 year ago #

    Greg,

    Thank you for this very useful plugin. I wanted an easy way to check WordPress constants and therefore updated the code. You can see the diff at https://github.com/michael-cannon/blackbox-debug-bar/compare/wp-mirrors:master...wp_constants.

    I've also corrected a few issues with the readme and began updating to WordPress coding standards.

    http://wordpress.org/plugins/blackbox-debug-bar/

  2. Greg Winiarski
    Member
    Plugin Author

    Posted 1 year ago #

    Michael, thanks for the code, one question: why list all the constants instead of using get_defined_constants() function?

  3. Michael Cannon
    Member
    Posted 1 year ago #

    Greg,

    Excellent question and suggestion in one. I had forgotten about that function.

    Guess, I'll revise my code.

  4. Michael Cannon
    Member
    Posted 1 year ago #

    Fixed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BlackBox Debug Bar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.