id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 6668 wp_just_in_time_script_localization throws a notice when WP_DEBUG is defined simonwheatley "Steps to reproduce: 1. Define the constant WP_DEBUG in wp_config.php 2. Browse to the blog homepage of a fairly vanilla WP2.5 install 3. Check the PHP error log, and you should see: Use of undefined constant AUTOSAVE_INTERVAL - assumed 'AUTOSAVE_INTERVAL' in /Users/simon/Projects/WordPress-2.5/site/wp-includes/script-loader.php:497 Looking around, it seems sensible to define AUTOSAVE_INTERVAL in one place, further up the hierachy where it will be present by the time wp_just_in_time_script_localization is called. wp_settings.php contains similar Constant defines, so I've put it there." defect (bug) closed normal 2.5.1 General 2.5 normal fixed has-patch needs-testing 2nd-opinion