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?
- What are the standard admin CSS id/class tags?
- The website cannot display the page
- Set Default Admin Colour For All Users
- Settings API – easiest way of validating checkboxes?
- initial sort order for a sortable custom column in admin
- Redirect Admin User in Dashboard
- Image uploader with “Set Featured Image” link on front end
- Conditional check for front-end which includes ajax
- Hide update messages from non-admin users?
- Reorder plugin items in the admin menu
- Reference external file as a function
- “Automatically add new top-level pages” Default
- Get email address of type Administrator
- Calling a shortcode in the backend
- How do I get my page to load the jQuery UI Effects library?
- Is there a way to have admins that are logged in to wordpress not have to enter the password for password protected pages while browsing the website?
- How to receive security update notification email?
- Include admins in author drop-down on edit post screen
- Adding another “Add Post” button to admin
- How to determine if an admin is logged in outside the loop
- Adding text in more than one language (at the same time)
- How to get view count of every page on site and add that (increasing) number to Dashboard Widget
- Restrict function call to page load but not ajax call
- How do I remove All and Published if not admin?
- Multiple images with Media Uploader on front-end
- Settings API not saving values to database
- Dashboard menu missing
- Admin role not really admin
- Jquery function working in Dev Console but not otherwise [duplicate]
- Send multiple attachments with JQuery and wp_mail() function
- Featured image on post edit page not loading over HTTPS
- How do I diagnose a plugin resource 404?
- Sorting WP Auctions by date/price?
- include shortcode values in Thickbox form
- Post editor is 89953px tall. How to fix?
- How to make sure your admin doesn’t hi-jack you site?
- Admin bar is disabled in front
- Other than save_post any other actions on add / edit post screen?
- AJAX Success Function using JS substr() fails in WP 4.1 vs 4.0
- Recommended Use of Bootstrap, or JQuery-UI in WP/plugin development?
- Add JavaScript in admin in custom plugin [duplicate]
- Passing state from child component to parent component in a Gutenberg Sidebar
- Admin user column sort by numeric meta key
- Shop in Subdomain feeding main domain order in admin area
- Can I retrieve Published changes when changes have been Saved but not Published in WordPress Semplice?
- I can’t access login page
- Admin Access for specific page(s)
- Get Link of Page Selected through a Select Field in Custom Admin Page
- how to disable the e-mail verification on wp-admin/options-general.php multisite admin e-mail
- 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?
- How to load jquery tag-it plugin into admin?
- WordPress gallery image link gives 404 when not logged in
- jQuery dialog prints HTML-Tags under WordPress
- Remove “minor-publishing” div from Publish admin metabox
- New User Notification – Setting Email
- Can’t access my wp admin: captcha images invisible, gives me error message
- You do not have permission to access this document on form submit
- Woo Commerce Settings for Check-out Form [closed]
- Modify ‘the_content’ appearance in the admin area