From 7baca50473a3691f7dbafbcbf690980347c5a748 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Fri, 9 Nov 2012 05:10:07 +0000 Subject: [PATCH] Media: Ensure media and its dependencies are included when a post type supports the editor or featured images. see #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22490 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-form-advanced.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 08c1fe8933..d5e579f3c7 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -17,6 +17,7 @@ if ( wp_is_mobile() ) if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail') ) { add_thickbox(); + wp_enqueue_media(); } /**