[wp-trac] [WordPress Trac] #10655: Post/Page ID Count skips one number when a new page or post created in WordPress 2.8.2
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 19 21:15:09 UTC 2010
#10655: Post/Page ID Count skips one number when a new page or post created in
WordPress 2.8.2
--------------------------+-------------------------------------------------
Reporter: misty9 | Owner:
Type: defect (bug) | Status: closed
Priority: low | Milestone:
Component: General | Version: 2.8.2
Severity: minor | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Comment(by dd32):
Replies to tickets here end up in our inboxes regardless of the status of
it, We're not a callcenter.
Autosaves were introduced in 2.1. So unless they were disabled in 2.2.2
for you, possibly due to a missing or old 2.0 file, then it *should've*
happened to you then too.
The answer to this ticket is simple however, post ID's will NEVER be
sequential, and they never have been (Ok, not in the last 4 years at
least). Posts, Pages, Attachments have always been taking up the next
number. In todays world, Posts, Pages, Attachments, Revisions, Autosaves,
Custom Post types(Including what people use on the front end, and Plugin
storage data), amongst other things WILL use the next available number.
That is not going to change.
If there has been a change in the code, Thats expected of a later version.
If you really want to see the queries related to the post ID's, Enable SQL
logging of queries, or hack wp-db.php up to email you every time a
INSERT/UPDATE/DELETE query is created against the database.
Please leave this ticket closed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10655#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list