As per WordPress Codex its best to register and queue your scripts with the hook dedicated for them, even if you want your script to be added to footer.
So the correct way of doing it will be:
function jupload_scripts() {
wp_enqueue_script( 'jquery-ui', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js', array('jquery'), '1.8.6', true );
}
add_action( 'admin_print_scripts', 'jupload_scripts' );
Related Posts:
- Organizing Code in your WordPress Theme's functions.php File?
- Admin Page Redirect
- Disable dragging of meta boxes?
- How to remove screen options and help links in the admin area?
- Sort admin menu items
- Custom column for changing post status via ajax
- Make fonts.com font work in TinyMCE (iframe referrer issue)
- How to remove items from +New admin menu?
- Make sub menu items a main link in the admin menu using fuctions.php
- Add column to pages table
- Admin account only shows Profile and Dashboard with no activity
- Can initial focus be set to search field in WordPress Media Library?
- wp-admin – save options without refreshing?
- How do you modify CSS files via admin panel?
- How to prevent parent admin page from appearring as a child admin page
- Change WP-Login or WP-Admin
- SSL Partially breaking admin panel and elementor
- What is the practical difference between is_admin() and is_blog_admin()?
- How do I set the homepage to the WordPress Admin Dashboard login?
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- How to hide wordpress default description box?
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- Allow administrators to pick post author on custom post type edit screen
- How to make the front-end RTL without changing the admin panel language?
- Add column to pages table
- What are the requirements to make the admin toolbar show up on the front end
- Remove bulk option row
- How to replace “Password Protected” text with icon in Admin
- Can’t access wp-admin, redirects to http://%24domain/wp-admin/
- What is the correct way to get only display plugin for Administrator Only
- Admin top level menu, pointing to an external url
- Browse Happy in 3.2
- How to break line / add to ADMIN menu
- External HTTP API calls slowing down WordPress admin [closed]
- Outputting something based on the presence of post variable in admin screens
- Creating custom admin panel pages without making a plugin?
- Dashboard : remove Safari navigator message
- Available resources for learning WordPress 4.7.2 from the ground up?
- Uncaught SyntaxError: Unexpected Token Illegal
- Newly created user role not displaying on users screen
- WordPress Admin extremely slow when other admin logged in
- WordPress Admin Panel Left Sidebar No showing on Post create page
- Accessing wordpress tool in local MAMP Site
- How to remove Google fonts from wp-admin (Roboto) added by core
- Trying to login to my site redirects me to the first page
- Admin Login Checks
- Failed to load resource: the server responded with a status of 431 ()
- When installing wordpress through WP CLI mysite.com/admin not working
- Trying to list user and post information from (wp_includes/post.php ) causes Fatal error
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- Admin Login page not working at all
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
- Override WordPress Core File?
- How to make the Panel // WP-Admin lighter via Mobile
- How to Change the Default Home Page for the WordPress Dashboard?
- How-to make the admin area mobile friendly [closed]
- 3.3: How do you hide the new dashboard welcome panel?
- Is there un-wp_autop function?
- how to force caching of wordpress admin
- Slow admin – waits and is blocked for a long time
- jquery UI in wordpress admin
- Restrict access in wp-admin area?
- WordPress User Roles, Custom Post Types, and Admin views
- Display $pagenow error notice on all admin pages
- How can I restrict a user to a specific item in the WordPress Admin? [closed]
- How to disable automatic excerpt generation *in admin*?
- disable a wp javascript on live website, but not on wp-admin page
- wp_nonce_url to users.php for deleting user not working
- Associating custom submenu item with post type of top level menu item
- Moving wp-admin to a different to a subdomain
- Limit access to wp_admin
- MySQL CPU Usage Surge up When Multiple Post Editor Pages are open
- Taxonomies image
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- how to customize wp-admin page using child theme
- new subdomain to apply as main domain
- Grabbing how Many Posts by Month for a Dashboard Widget
- Detect Featured Image remove while editing post in wp-admin (client-side)
- Cannot log in to the admin, no error message [closed]
- Adding and removing columns from the admin pages panel
- wp cron, admin and updates questions
- Remove header text option from the backend
- User Capabilities are not available in WP REST permission callback?
- Echo string in admin panel footer beside version no
- Weird urls after moving site from local env to a server
- Manage Admin permissions by URL GET parameters
- Set edit capability based on ACF relationship
- Hook into form handle from admin users table
- Display Form in Admin Panel and Save data to Database
- Wp-admin loguts me. When sign with Wp_singon
- How to keep the plugin submenu open on viewing a custom version of users.php?
- Admin Panel issue
- How to change the publishing date of each posts?
- Change height of Add New Post input box
- Anyone Can Register
- WP-Admin not reachable
- Featured image bugging out when using svg
- WordPress site shows a white page for site/wp_admin. A login returns again to the login screen
- How can I have an admin only non-dashboard page in my WordPress plugin