[wp-trac] [WordPress Trac] #14157: wp-include references should be wiped off

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 30 14:54:49 UTC 2010


#14157: wp-include references should be wiped off
-------------------------+--------------------------------------------------
 Reporter:  steak        |       Owner:                    
     Type:  enhancement  |      Status:  new               
 Priority:  normal       |   Milestone:  Awaiting Review   
Component:  General      |     Version:                    
 Severity:  minor        |    Keywords:  wp-includes, WPINC
-------------------------+--------------------------------------------------
 I think all references to wp-includes should be wiped off and use the
 WPINC WP constant. This may allow for a future renaming of the wp-includes
 folder if needed.

 E.g in script-loader.php:

 $scripts->add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js',
 array('jquery'), '1.7.1' );

 To:

 $scripts->add( 'jquery-ui-core', '/' . WPINC. '/js/jquery/ui.core.js',
 array('jquery'), '1.7.1' );

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


More information about the wp-trac mailing list