checks against array('draft', 'pending') should be changed
|Reported by:||Denis-de-Bernardy||Owned by:|
With the introduction of the trash status, checks for a post_status in array('draft', 'pending') should probably be changed into either of = 'publish' or != 'publish'.
As things currently stand, a function like wp_link_pages() with a paginated trashed post probably ends up returning a fancy permalink.
Change History (14)
in reply to:
6 years ago
- Keywords has-patch added; reporter-feedback removed
- Milestone changed from 2.9 to 3.0
- Resolution fixed deleted
- Status changed from closed to reopened