PluginProbe
Smart Grid-Layout Design for Contact Form 7 / 4.5
Smart Grid-Layout Design for Contact Form 7 v4.5
4.18.0 4.17.0 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 4.0.0 4.0.1 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10 4.11 4.12 4.13 4.14 All 119 releases
← All changes | includes/wordpress-gurus-debug-api.php +5 -0 4.1.14.5 View file →
@@ -10,8 +10,13 @@
10 10 if (true === WP_GURUS_DEBUG) {
11 11 $debug_msg_last_line='';
12 12 $debug_msg_last_file='';
13 13 }
14 + /**
15 + * Function to log debug messages.
16 + * Requires WP_GURUS_DEBUG = true, define it in your wp-config.php file.
17 + * Set WP_DEBUG to true, and WP_DEBUG_DISPLAY to false (so no errors are printed to screen), and WP_DEBUG_LOG to true so messages are logged to wp-content/debug.log file.
18 + */
14 19 function debug_msg($message, $prefix='', $trace=0) {
15 20 if (true === WP_GURUS_DEBUG) {
16 21 global $debug_msg_last_line,$debug_msg_last_file;
17 22 $backtrace = debug_backtrace();