Title: sloppy code
Last modified: November 13, 2017

---

# sloppy code

 *  [photocurio](https://wordpress.org/support/users/photocurio/)
 * (@photocurio)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/sloppy-code-2/)
 * This plugin outputs a LOT of debugging statements to the console. Obviously, 
   this is sloppy coding. Console statements should never be present in production
   code. I will update this review if this is cleaned up.

Viewing 1 replies (of 1 total)

 *  [Barry](https://wordpress.org/support/users/barryhughes-1/)
 * (@barryhughes-1)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/sloppy-code-2/#post-9703852)
 * Thanks for the review, [@photocurio](https://wordpress.org/support/users/photocurio/).
 * Though I don’t necessarily agree that console statements should never be present
   in production code, I do agree that we shouldn’t output them unless specific 
   conditions are met and that we have some tidying up to do here to limit this.
 * I do appreciate you flagging this, though – we’ll see what we can do!

Viewing 1 replies (of 1 total)

The topic ‘sloppy code’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Barry](https://wordpress.org/support/users/barryhughes-1/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/sloppy-code-2/#post-9703852)