Make WordPress Core


Ignore:
Timestamp:
06/02/2007 12:37:51 AM (18 years ago)
Author:
rob1n
Message:

Move JavaScript to js subfolder, and CSS to css subfolder. see #4334

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r5629 r5631  
    9494            endswitch;
    9595            if ( $man ) {
    96                 $this->add( 'dbx-admin-key', '/wp-admin/dbx-admin-key.js', array('dbx'), '20070417' );
     96                $this->add( 'dbx-admin-key', '/wp-admin/js/dbx-admin-key.js', array('dbx'), '20070417' );
    9797                $this->localize( 'dbx-admin-key', 'dbxL10n', array(
    9898                    'manager' => $man,
     
    105105                ) );
    106106            }
    107             $this->add( 'ajaxcat', '/wp-admin/cat.js', array('listman'), '20070417' );
     107            $this->add( 'ajaxcat', '/wp-admin/js/cat.js', array('listman'), '20070417' );
    108108            $this->localize( 'ajaxcat', 'catL10n', array(
    109109                'add' => attribute_escape(__('Add')),
    110110                'how' => __('Separate multiple categories with commas.')
    111111            ) );
    112             $this->add( 'admin-categories', '/wp-admin/categories.js', array('listman'), '3684' );
    113             $this->add( 'admin-custom-fields', '/wp-admin/custom-fields.js', array('listman'), '3733' );
    114             $this->add( 'admin-comments', '/wp-admin/edit-comments.js', array('listman'), '20070327' );
    115             $this->add( 'admin-users', '/wp-admin/users.js', array('listman'), '4583' );
    116             $this->add( 'xfn', '/wp-admin/xfn.js', false, '3517' );
    117             $this->add( 'upload', '/wp-admin/upload.js', array('jquery'), '20070518' );
     112            $this->add( 'admin-categories', '/wp-admin/js/categories.js', array('listman'), '3684' );
     113            $this->add( 'admin-custom-fields', '/wp-admin/js/custom-fields.js', array('listman'), '3733' );
     114            $this->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('listman'), '20070327' );
     115            $this->add( 'admin-users', '/wp-admin/js/users.js', array('listman'), '4583' );
     116            $this->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
     117            $this->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' );
    118118            $this->localize( 'upload', 'uploadL10n', array(
    119119                'browseTitle' => attribute_escape(__('Browse your files')),
Note: See TracChangeset for help on using the changeset viewer.