Ticket #32700: 32700.diff
File 32700.diff, 560 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/nav-menu.php
1163 1163 'order' => 'DESC', 1164 1164 ); 1165 1165 1166 // Attachments have a status of 'inherit' 1167 } elseif ( 'attachment' == $object->name ) { 1168 $object->_default_query = array( 1169 'post_status' => 'inherit', 1170 ); 1171 1166 1172 // Custom post types should show only published items. 1167 1173 } else { 1168 1174 $object->_default_query = array(