Опис
The fastest and easiest way to switch debug mode on/off and view PHP info directly from the admin.
- Normally, to enable debug mode, you’d have to manually add the following to wp-config.php:
<?php define( 'WP_DEBUG', true ); ?> - Normally, to view the server’s PHP version and other info, you’d have to manually upload a file with:
<?php phpinfo(); ?>
With Debug Switch, this is handled automatically.
How?
Simply activate the plugin to enable and deactivate the plugin to disable them when you’re done debugging.
Why?
There are a dozen other debugging plugins that already do this (more or less), so why create another?
Well, I already tried them all, and they just felt clunky and unnecessarily overcomplicated. I got tired of having to manually switch debug mode on and off and these other plugins didn’t offer a simple way to do that without also adding a bunch of other bells and whistles that I found to just be in the way, so I made something simpler.
Відгуки
Учасники та розробники
“Debug Switch” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Debug Switch” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
0.2
- Minor improvements
0.1
- New