Title: Bug: comment code visible during page refresh
Last modified: May 7, 2026

---

# Bug: comment code visible during page refresh

 *  [Jo Preston](https://wordpress.org/support/users/joprestonom4/)
 * (@joprestonom4)
 * [3 days, 21 hours ago](https://wordpress.org/support/topic/bug-comment-code-visible-during-page-refresh/)
 * I’m hitting a small but visible bug where the editor screen (clicking on a page
   or post in the WordPress view) briefly shows a stray line of text near the top
   of the page for a fraction of a second before the block editor renders over it.
 * This is happening on multiple client sites.
 * The text is:
 * `//# sourceURL=monsterinsights-gutenberg-editor-js-js-after`
 * If you view the page source when in the page/post editor it shows this line. 
   AI seems to think this is the issue: _MonsterInsights’ inline translation script
   for the block editor wraps its code in extra `<script>` tags, which nests inside
   the `<script>` tag WordPress already adds — causing a stray line of text to flash
   on screen on every edit-screen load (on non-en\_US sites)._
 * Sites set to English (United States) don’t have the problem, sites with English(
   Australia) do. I tested switching an Australian site to US English and it stopped
   happening, switching back, and the issue reappears.
 * Here is a screenshot: [https://drive.google.com/file/d/1eacRVIMqa8FtRTOIv5PrtNo0KtYJkfU_/view?usp=sharing](https://drive.google.com/file/d/1eacRVIMqa8FtRTOIv5PrtNo0KtYJkfU_/view?usp=sharing)

Viewing 1 replies (of 1 total)

 *  Plugin Support [Michelle D.](https://wordpress.org/support/users/devmich/)
 * (@devmich)
 * [2 days, 4 hours ago](https://wordpress.org/support/topic/bug-comment-code-visible-during-page-refresh/#post-18903161)
 * Hi [@joprestonom4](https://wordpress.org/support/users/joprestonom4/),
 * Thanks for reaching out and sharing this detailed report!
 * I have passed this along to our developer team to resolve in a future release.
   We really appreciate you for bringing this to our attention!
 * Thank you.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-comment-code-visible-during-page-refresh%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michelle D.](https://wordpress.org/support/users/devmich/)
 * Last activity: [2 days, 4 hours ago](https://wordpress.org/support/topic/bug-comment-code-visible-during-page-refresh/#post-18903161)
 * Status: not resolved