#50107 closed defect (bug) (duplicate)
You are not showing revision on the edit screen unless there is more than 1
Reported by: | mariodabek | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Revisions | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
Why is this ?
I should be able to see a single revision of a page that's been modified.
I traced the code down to meta-boxes.php line 1428
// We should aim to show the revisions meta box only when there are revisions. if ( count( $revisions ) > 1 ) {
This should be > 0 not greater than 1. Greater than one means revisions only show when there is 2 or more.
Change History (3)
Note: See
TracTickets for help on using
tickets.
With a quick test, this doesn't appear to be valid.
Create a post, publish it. Edit the post, update it. When going to the post editor now, "2 revisions" show in the sidebar just fine, with the initial post and the new revision to it. No need for a third one to exist for the Revisions area to appear.
Tested with trunk.