A lot of people think it’s a bad practice to deregister/reregister jQuery, despite the performance improvements c/o a CDNed version (and if you’re going for a CDN, I see Google’s version more often than jQuery’s). However, if you’re going to do that, you really should only do that on the front-end only so at least the admin can correctly assume that the current WP-preloaded jQuery version is being used.
So switch your script to this and I suspect your problems probably will end:
function my_custom_scripts() {
if( !is_admin() ) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://code.jquery.com/jquery-latest.min.js"), false, '');
wp_enqueue_script('jquery');
}
}
add_action( 'wp_enqueue_scripts', 'my_custom_scripts' );
Related Posts:
- Thickbox hacking – removing fields
- custom tabs in media uploader
- send information from the thickbox image uploader second tab
- How to remove list view from media library?
- Uploading files in admin panel?
- Set Featured Image programmatically (in admin) with JavaScript?
- Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area
- How can I include JavaScript that use jQuery on admin side
- Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?
- Making Media Library “Alternative Text” Field Required
- Customize the upload screen
- wordpress upload http error?
- Enqueue jQuery UI Tabs In Admin Area
- Use latest jQuery in WordPress (admin interface)
- Admin area ‘toggle’ w/ cookie
- Refreshing collections in the admin media manager
- Get current logged in user under 3.1, re: remove “Howdy”
- How to restrict wp-admin and prevent upload errors
- Custom Thickbox Broken on Dashboard Page?
- Editing the Backend Uploader
- jQuery UI AutoComplete & wp_enqueue_script
- Plugin admin panel JavaScript Broken
- Unable to upload image using the standard uploader in the WP admin (v4.3)
- WordPress post feature image not uploading
- Client system for media review?
- How To Make Iris Color Picker Showed Up Over Form and Text?
- Adding URL of PDF from Thickbox in a Meta Box
- Default scripts added to each admin page
- Problem with implenting Uploadify with WordPress
- Weird jquery problem when upgrade to WordPress 3.1
- WordPress Thickbox Navigation Issue in Gallery
- Dashboard controls have all stopped working
- add instructions to upload pages and / or forms
- WordPress Admin Thickbox: Remove Margins/Padding
- Run filter if only it was run from specific admin page ( ‘upload_dir’ changed )
- Making a custom upload form and page in the admin section
- how to automatically cleanup failed WordPress uploads in /tmp?
- Hiding the media-new.php File URL option via jQuery
- How to fix broken admin Thickbox?
- Search Only Works when Logged into Admin
- Can you check if https is enabled on frontend from admin
- Get Link of Page Selected through a Select Field in Custom Admin Page
- When admin approves a registered user, I don’t want to send a notification email to users
- Can’t access dashboard after 4.8.1 automatic upgrade
- How can I create multiple different admin roles with their own capabilities
- Find out if post was just updated on post edit screen
- Admin hook after editing an image?
- Sortable admin columns by 0.00 number
- How can I add a new lib path without call each one on the header?
- Is it possible to create a custom admin page for users?
- WordPress4.1.15 Dashboard links not working
- Admins loggin in to our wordpress site default to the admin page
- exclude ID on avatar
- Missing content on website. Admins cant sign in
- Wp-admin page not found following copy of site
- Populate Dropdwon with DIR files, save value and keep it “selected”
- Form submit in admin does not set is_admin() true
- Display Graphs in Admin Pages
- Add a jQuery snippet for sepcific user role
- How to install jquery dotdotdot plugin for WordPress?
- Links in new menu don’t work
- Custom redirection when managing users in admin
- How to retain HTML5 Attributes on Markup
- how to disable the e-mail verification on wp-admin/options-general.php multisite admin e-mail
- ‘Conflict’ with action deleted_post and is_admin()
- Signed-in as admin on just part of the site
- Get content of publish box
- Site fast when logged in, slow otherwise – How can I determine the cause, workaround or fix the issue?
- Add button in admin columns
- How to change the title attribute for the WP logo image on wp-login.php
- How to switch between two forms for visitor once admin logged in?
- Why doesn’t the Media Browser use thumbnail sized images?
- Different role for free and pro users in wordpress without using bbpress
- WordPress Admin Email
- Get the selected posts IDs to use in bulk edit AJAX call
- How to update my website with WordPress?
- conditionally update css on edit.php
- Simple CSS admin pagination
- Can I show the tag admin interface on a post when logged in as an admin?
- Is Post-Form Resubmission somehow prevented in WordPress 4.2.2?
- How to disable the “Your site has updated to WordPress x.y.z” admin email?
- wordpress login loop after install
- Disabling “View” mentions from backend?
- Handle logo text color from admin section
- Unable to render Admin Notices
- How would I get this to work – send to post from thick box
- My code for creating an admin option doesn’t work
- Improving this link color picker code
- Downloading file from wp-admin folder
- WordPress login not working
- Login to Admin Dashboard Problem
- WordPress login process is hanging
- Admin encoding problem
- Blank page beyond dashboard
- Cannot save Post
- How to create input page in WordPress admin panel?
- WordPress “Hide WP” Gives Me Error After Admin Login [closed]
- Add item to admin bar as late as possible
- Change Admin URL
- Enqueue script throws error in console