mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1154,7 +1154,7 @@ class WP_Query {
|
||||
|
||||
// MIME-Type stuff for attachment browsing
|
||||
|
||||
if ( '' != $q['post_mime_type'] )
|
||||
if ( isset($q['post_mime_type']) && '' != $q['post_mime_type'] )
|
||||
$whichmimetype = wp_post_mime_type_where($q['post_mime_type']);
|
||||
|
||||
$where .= $search.$whichcat.$whichauthor.$whichmimetype;
|
||||
|
||||
Reference in New Issue
Block a user