[wp-trac] [WordPress Trac] #25161: Define SCRIPT_DEBUG in trunk/src and remove it when building

WordPress Trac noreply at wordpress.org
Wed Aug 28 02:41:47 UTC 2013


#25161: Define SCRIPT_DEBUG in trunk/src and remove it when building
--------------------------+-------------------
 Reporter:  azaozz        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.7
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
--------------------------+-------------------
 Running file_exists() on every load (incl. on the front-end) to determine
 whether SCRIPT_DEBUG should be set is expensive.

 SCRIPT_DEBUG can be defined in trunk/src/ and removed when copying the
 files with Grunt.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25161>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list