[wp-trac] [WordPress Trac] #14088: Don't return 404 in backend

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 13 20:11:39 UTC 2010

#14088: Don't return 404 in backend
 Reporter:  nacin           |       Owner:  frankperez87          
     Type:  defect (bug)    |      Status:  accepted              
 Priority:  normal          |   Milestone:  3.0.1                 
Component:  Administration  |     Version:  3.0                   
 Severity:  major           |    Keywords:  has-patch dev-feedback

Comment(by nacin):

 We also use wp() in wp_edit_attachments_query(), which affects upload.php.

 I'm trying to think of what would change by going from wp() to
 query_posts() (as it has been wp() for some time), and whether it makes
 sense to repair our regressed logic in the handler instead. I wonder if
 that is as simple as an `!is_admin()` check.

Ticket URL: <http://core.trac.wordpress.org/ticket/14088#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list