Changeset 7103 for trunk/wp-includes/script-loader.php
- Timestamp:
- 02/29/2008 09:51:36 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/script-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r7100 r7103 42 42 $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6'); 43 43 44 $this->add( 'autosave', '/wp-includes/js/autosave.js', array('jquery', 'schedule'), '20080221'); 44 $this->add( 'wp-ajax-response', '/wp-includes/js/wp-ajax-response.js', array('jquery'), '20080229' . mt_rand() ); 45 $this->localize( 'wp-ajax-response', 'wpAjax', array( 46 'noPerm' => 'You do not have permission to do that.', 47 'broken' => 'AJAX is teh b0rked.' 48 ) ); 49 50 $this->add( 'autosave', '/wp-includes/js/autosave.js', array('schedule', 'wp-ajax-response'), '20080221' . mt_rand()); 45 51 $this->localize( 'autosave', 'autosaveL10n', array( 46 'autosaveInterval' => apply_filters('autosave_interval', '60'), 47 'errorText' => __('Error: %response%'), 48 'failText' => __('Error: Autosave Failed.'), 49 'previewPageText' => __('Preview this Page'), 50 'previewPostText' => __('Preview this Post'), 51 'saveText' => __('Saved at %time%.'), 52 'autosaveInterval' => get_option( 'autosave_interval' ), 53 'previewPageText' => __('View this Page'), 54 'previewPostText' => __('View this Post'), 52 55 'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php', 53 'savingText' => __('Saving Draft...')56 'savingText' => __('Saving…') 54 57 ) ); 55 58 … … 62 65 ) ); 63 66 64 $this->add( 'wp-lists', '/wp-includes/js/wp-lists.js', array(' jquery'), '20080228');67 $this->add( 'wp-lists', '/wp-includes/js/wp-lists.js', array('wp-ajax-response'), '20080228' . mt_rand()); 65 68 $this->localize( 'wp-lists', 'wpListL10n', array( 66 69 'url' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php'
Note: See TracChangeset
for help on using the changeset viewer.