Make WordPress Core


Ignore:
Timestamp:
02/08/2008 07:57:50 PM (18 years ago)
Author:
ryan
Message:

Postbox save updates and admin js refactoring from nbachiyski. fixes #5799

File:
1 edited

Legend:

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

    r6757 r6761  
    136136                'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php',
    137137            ) );
    138             $this->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox'), '20080128' );
     138            $this->add( 'slug', '/wp-admin/js/slug.js', array('jquery'), '20080208' );
     139            $this->localize( 'slug', 'slugL10n', array(
     140                'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php',
     141                'save' => __('Save'),
     142                'cancel' => __('Cancel'),
     143            ) );
     144            $this->add( 'post', '/wp-admin/js/post.js', array('suggest', 'jquery-ui-tabs', 'wp-lists', 'postbox', 'slug'), '20080128' );
    139145            $this->localize( 'post', 'postL10n', array(
    140146                'tagsUsed' =>  __('Tags used on this post:'),
     
    142148                'addTag' => attribute_escape(__('Add new tag')),
    143149                'separate' => __('Separate tags with commas'),
    144                 'save' => __('Save'),
    145                 'cancel' => __('Cancel'),
    146                 'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php',
    147             ) );
     150            ) );
     151            $this->add( 'page', '/wp-admin/js/page.js', array('jquery', 'slug', 'postbox'), '20080208' );
    148152            $this->add( 'link', '/wp-admin/js/link.js', array('jquery-ui-tabs', 'wp-lists', 'postbox'), '20080131' );
    149153            $this->add( 'media-upload', '/wp-admin/js/media-upload.js', false, '20080109' );
Note: See TracChangeset for help on using the changeset viewer.