[wp-trac] [WordPress Trac] #37514: Shiny Updates: Remove console.error() calls
WordPress Trac
noreply at wordpress.org
Tue Aug 2 20:44:16 UTC 2016
#37514: Shiny Updates: Remove console.error() calls
------------------------------+-----------------------------------------
Reporter: ocean90 | Owner: jorbin
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.6
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: javascript, administration
------------------------------+-----------------------------------------
Comment (by ocean90):
@jorbin That one used for debugging. But is should probably get a
`window.console` check.
`if ( 'undefined' !== typeof response.debug && window.console &&
window.console.log ) { … }`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37514#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list