Title: Plugin debug code active in public.js
Last modified: September 3, 2018

---

# Plugin debug code active in public.js

 *  Resolved [snaphappyme](https://wordpress.org/support/users/snaphappyme/)
 * (@snaphappyme)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/)
 * You have debugging code running in `public.js`
 * It is outputting “viewportitem update” to the developer console.
 * This appears with Facebook post feeds, may appear with others but this is where
   I see it.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [snaphappyme](https://wordpress.org/support/users/snaphappyme/)
 * (@snaphappyme)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10654451)
 * I searched for all `Console.log()` references and there are a ~4 active in `public.
   js` which are filling up the developer console.
 * But** worse still** is `admin.js` which has a 12+ console.log messages being 
   dumped to the developer console log.
 * This is debugging code not something that should be active on public releases
   of your plugin.
 *  Plugin Support [Oleksandr](https://wordpress.org/support/users/awesomeoman/)
 * (@awesomeoman)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10662951)
 * Hello, sorry, we will check and fix this. Thank you for the feedback!
 *  Thread Starter [snaphappyme](https://wordpress.org/support/users/snaphappyme/)
 * (@snaphappyme)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10683019)
 * Hi,
 * This was not fully addressed in your recent 3.0.63 update.
 * `Public.JS` still has about 4 console.log message entries.
    1. console.log(“adding items CSS”)
    2. console.log(“viewportitem update”)
    3. console.log(t)
    4. console.log(“slick-destroyed”)
 * `Admin.js` is fixed though.
 *  Thread Starter [snaphappyme](https://wordpress.org/support/users/snaphappyme/)
 * (@snaphappyme)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10723611)
 * I’m confused your newest release has reinstated the javascript console debugging
   code in `admin.js` which you had fixed in 3.0.63.
 * **3.0.64 ** also doesn’t fix the code in `public.js` I previously reported.
 * We have gone backwards in fixes ;-(
 *  Thread Starter [snaphappyme](https://wordpress.org/support/users/snaphappyme/)
 * (@snaphappyme)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10727256)
 * Someone needs more sleep; your developer has released 3.0.65 to fix the issues
   reported BUT the files:
    1. admin.js
    2. public.js
 * **are untouched and unchanged**. So this release is a “no-change” package.
 * 3.0.65 still contains the same debug code as in previous releases.
 *  Plugin Support [Oleksandr](https://wordpress.org/support/users/awesomeoman/)
 * (@awesomeoman)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10747950)
 * Hello, will send this to developers, sorry for the inconvenience.
 *  Thread Starter [snaphappyme](https://wordpress.org/support/users/snaphappyme/)
 * (@snaphappyme)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10772888)
 * You need to hire a new developer. Their attention to detail is missing.
 * 3.0.68 update fixes the console.log messages in `public.js`.
 * BUT **again misses** the 20+ messages in `admin.js`.
 * I can see I am wasting my time reporting this.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Plugin debug code active in public.js’ is closed to new replies.

 * ![](https://ps.w.org/flow-flow-social-streams/assets/icon-256x256.png?rev=2414430)
 * [Flow-Flow Social Streams](https://wordpress.org/plugins/flow-flow-social-streams/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flow-flow-social-streams/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flow-flow-social-streams/)
 * [Active Topics](https://wordpress.org/support/plugin/flow-flow-social-streams/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flow-flow-social-streams/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flow-flow-social-streams/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [snaphappyme](https://wordpress.org/support/users/snaphappyme/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-debug-code-active-in-public-js/#post-10772888)
 * Status: resolved