Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14588 closed defect (bug) (invalid)

Phantom Auto Draft Post

Reported by: abutlwer's profile abutlwer Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0.1
Component: General Keywords: auto draft
Focuses: Cc:

Description

Using WP 3.0.1 and Twenty Ten 1.1. WP seems to write a 'phantom' Auto Draft post to the posts table every time I access the dashboard screen - unless there is such a post there already. Sometimes duplicates can be created. I have also observed a phantom post once under WP 2.9.2

This is an embarrassment because Search Unleashed finds such posts and displays them in its results - but thhe post cannot be accessed.

Change History (2)

#1 @nacin
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

This is intended functionality and part of our auto-draft implementation, #11889 and #10917. Plugins need to make sure they are not blindly querying for 'all' post statuses when looking for posts for public consumption. Some are marked as internal, or explicitly excluded from being searched. You can even use get_post_stati() to query on various different properties.

#2 @scribu
14 years ago

Search Unleashed is no longer maintained. I switched to Search Everything.

Note: See TracTickets for help on using tickets.