Skip to content

Commit

Permalink
Fix ajaxification in network area by using ajaxurl. See #14579
Browse files Browse the repository at this point in the history
git-svn-id: http://core.svn.wordpress.org/trunk@15495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
scribu committed Aug 12, 2010
1 parent 67f20d6 commit aba41c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wp-admin/js/admin-table.dev.js
Expand Up @@ -72,7 +72,7 @@ jQuery(document).ready(function($) {
data['list_args'] = list_args;

$.ajax({
url: 'admin-ajax.php',
url: ajaxurl,
global: false,
dataType: 'json',
data: data,
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/js/admin-table.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wp-includes/script-loader.php
Expand Up @@ -338,7 +338,7 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'theme-preview', "/wp-admin/js/theme-preview$suffix.js", array( 'thickbox', 'jquery' ), '20100407' );
$scripts->add_data( 'theme-preview', 'group', 1 );

$scripts->add( 'admin-table', "/wp-admin/js/admin-table$suffix.js", array( 'jquery', 'jquery-query' ), '20100626' );
$scripts->add( 'admin-table', "/wp-admin/js/admin-table$suffix.js", array( 'jquery', 'jquery-query' ), '20100812' );
$scripts->add_data( 'admin-table', 'group', 1 );
$scripts->localize( 'admin-table', 'adminTableL10n', array(
'loading' => __('Loading...'),
Expand Down

0 comments on commit aba41c6

Please sign in to comment.