Conversation
supportGreg, 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/
Michael, thanks for the code, one question: why list all the constants instead of using get_defined_constants() function?
Greg, Excellent question and suggestion in one. I had forgotten about that function. Guess, I’ll revise my code.
Fixed.
Michael, thanks for the code, one question: why list all the constants instead of using get_defined_constants() function?
Greg, Excellent question and suggestion in one. I had forgotten about that function. Guess, I’ll revise my code.
Fixed.