[wp-testers] 404 if no posts found in admin area

Aaron Lozier lozieraj at gmail.com
Thu Apr 22 16:04:51 UTC 2010


Testing WP3 beta - but not sure if this affects other versions...
Also using Multi-site option.

I deleted the "Hello World" post and then began getting 404 errors
throughout the admin.  Finally tracked the issue to
wp-includes/classes.php, handle_404 function.  if no posts are found
then 404 is returned.  thinking !is_admin() needs to be added to the
conditional in line 477 - but i'll leave that to the gurus :)

Aaron


More information about the wp-testers mailing list