[wp-trac] [WordPress Trac] #32118: SCRIPT_DEBUG check in print_emoji_detection_script() generating PHP Notices
WordPress Trac
noreply at wordpress.org
Fri Apr 24 21:58:29 UTC 2015
#32118: SCRIPT_DEBUG check in print_emoji_detection_script() generating PHP
Notices
----------------------------+----------------------------
Reporter: aut0poietic | Owner: craig-ralston
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.2.1
Component: Formatting | Version: 4.2
Severity: normal | Resolution:
Keywords: good-first-bug | Focuses:
----------------------------+----------------------------
Comment (by nacin):
Let's not deal with early defining SCRIPT_DEBUG for now. I am almost
positive we don't do that because of the weirdness of script-loader.php
loading.
For 4.2.1, the extra `defined() &&` is good.
Question: what happens when this bug occurs? What happens when the notice
is suppressed vs not suppressed? Does the JS break?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32118#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list