WordPress.org

Make WordPress Core

Changeset 7975


Ignore:
Timestamp:
05/21/08 20:27:36 (6 years ago)
Author:
ryan
Message:

wp-ajax.js is no longer used

Location:
trunk/wp-includes
Files:
1 deleted
1 edited

Legend:

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

    r7973 r7975  
    4848 
    4949    $scripts->add( 'autosave', '/wp-includes/js/autosave.js', array('schedule', 'wp-ajax-response'), '20080508' ); 
    50  
    51     $scripts->add( 'wp-ajax', '/wp-includes/js/wp-ajax.js', array('prototype'), '20070306'); 
    52     $scripts->localize( 'wp-ajax', 'WPAjaxL10n', array( 
    53         'defaultUrl' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php', 
    54         'permText' => __("You do not have permission to do that."), 
    55         'strangeText' => __("Something strange happened.  Try refreshing the page."), 
    56         'whoaText' => __("Slow down, I'm still sending your data!") 
    57     ) ); 
    5850 
    5951    $scripts->add( 'wp-lists', '/wp-includes/js/wp-lists.js', array('wp-ajax-response'), '20080411' ); 
Note: See TracChangeset for help on using the changeset viewer.