when i Disable dragging metaboxes in admin, it seems to make some problems. when i use this code:

function disable_drag_metaboxs() {
add_action( 'admin_init', 'disable_drag_metaboxs'); 

i have some strange problem. when i uploading featured image into post or page all works. but when i try to click on the remove image link from the post/page nothings happened and i get error:

Uncaught ReferenceError: WPRemoveThumbnail is not defined

anyone know some solution for this bug?


  • no one see this bug?
    – need-help
    Commented Jan 18, 2015 at 6:09
  • have you seen this question? that script isn't only for metabox dragging, so it's not a bug that you've broken other things by removing it.
    – Milo
    Commented Jan 18, 2015 at 22:56


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.