unnecessary console.log() in code
-
Hi, in the main file of the plugin
email-templates/email-templates.phpon line 45 there is some code that is completely unnecessary and it would be great if this could be removed from the plugin. Currently it logs “new data loaded” to the browser console on every page.add_action( 'wp_footer', function() {
echo '<script type="text/javascript">
jQuery( document ).ready( function( $ ) {
console.log( "new data loaded" );
} );
</script>';
}, 1000 );Thanks!
Ronald
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘unnecessary console.log() in code’ is closed to new replies.