Changes between Initial Version and Version 1 of Ticket #24171
- Timestamp:
- 04/23/2013 09:59:17 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24171 – Description
initial v1 1 1 Steps to produce: 2 2 3 #Create a new page called "My Home Page". Add some bacon ipsum.4 #Assign the page as your static home page.5 #Trash the page, but don't delete it.3 1. Create a new page called "My Home Page". Add some bacon ipsum. 4 1. Assign the page as your static home page. 5 1. Trash the page, but don't delete it. 6 6 7 7 Expected behavior: My homepage reverts to a list of my most recent posts … … 9 9 Actual behavior: 404 template is loaded. 10 10 11 In r6337, we started listing most recent posts when the page is *deleted*. However, there's a short circuit (added later) in `wp_delete_post()` to `wp_trash_post()`, which doesn't delete the option. This results in the homepage not being reset until the post is actually deleted.11 In r6337, we started listing most recent posts when the page is ''deleted''. However, there's a short circuit (added later) in `wp_delete_post()` to `wp_trash_post()`, which doesn't delete the option. This results in the homepage not being reset until the post is actually deleted. 12 12 13 13 I think the trashing behavior should be consistent with deleting behavior.