Use core jQuery UI. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13269 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f24e88359e
commit
8726b1d116
@ -14,12 +14,15 @@ require_once('admin.php');
|
||||
|
||||
wp_admin_css( 'custom-navigation' );
|
||||
wp_enqueue_script( 'jquery' );
|
||||
wp_enqueue_script( 'custom-navigation-ui-custom' );
|
||||
wp_enqueue_script( 'jquery-ui-draggable' );
|
||||
wp_enqueue_script( 'jquery-ui-droppable' );
|
||||
wp_enqueue_script( 'jquery-ui-sortable' );
|
||||
wp_enqueue_script( 'jquery-ui-dialog' );
|
||||
wp_enqueue_script( 'custom-navigation-dynamic-functions' );
|
||||
wp_enqueue_script( 'custom-navigation-default-items' );
|
||||
wp_enqueue_script( 'jquery-autocomplete' );
|
||||
wp_enqueue_script( 'custom-navigation-php-functions' );
|
||||
wp_enqueue_script( 'jquery-ui-dialog' );
|
||||
|
||||
|
||||
require_once('admin-header.php');
|
||||
require_once (ABSPATH . WPINC . '/custom-navigation.php');
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -396,17 +396,11 @@ function wp_default_scripts( &$scripts ) {
|
||||
'done' => __( 'Done' )
|
||||
) );
|
||||
|
||||
// Custom Navigation
|
||||
$scripts->add( 'custom-navigation-default-items', "/wp-admin/js/custom-navigation-default-items$suffix.js", false, '20100220' );
|
||||
$scripts->add( 'custom-navigation-dynamic-functions', "/wp-admin/js/custom-navigation-dynamic-functions$suffix.js", false, '20100220' );
|
||||
$scripts->add( 'custom-navigation-php-functions', "/wp-admin/js/custom-navigation-php-functions$suffix.js", false, '20100220' );
|
||||
}
|
||||
|
||||
//Custom Navigation
|
||||
|
||||
$scripts->add( 'custom-navigation-ui-custom', '/wp-admin/js/custom-navigation-custom-jquery-ui-1.7.2.js', array('jquery'), '1.7.2' );
|
||||
$scripts->add_data( 'custom-navigation-ui-custom', 'group', 1 );
|
||||
|
||||
$scripts->add( 'custom-navigation-default-items', "/wp-admin/js/custom-navigation-default-items$suffix.js", false, '20100220' );
|
||||
$scripts->add( 'custom-navigation-dynamic-functions', "/wp-admin/js/custom-navigation-dynamic-functions$suffix.js", false, '20100220' );
|
||||
$scripts->add( 'custom-navigation-php-functions', "/wp-admin/js/custom-navigation-php-functions$suffix.js", false, '20100220' );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user