Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Revision ID associated to record is not the most recent one #585

Closed
shadyvb opened this issue Jun 27, 2014 · 4 comments · Fixed by #593
Closed

Post Revision ID associated to record is not the most recent one #585

shadyvb opened this issue Jun 27, 2014 · 4 comments · Fixed by #593
Labels

Comments

@shadyvb
Copy link
Contributor

shadyvb commented Jun 27, 2014

Posts connector stores revision_id meta var for updated posts, so you can view changes and later be able to restore them quickly.

The tracking action happens before the revision is actually inserted, resulting in revision_id being always one revision earlier.

@shadyvb
Copy link
Contributor Author

shadyvb commented Jul 20, 2014

@fjarrett as described in 0496628#commitcomment-7072242 , i think we need to rollback #593 and take into account that wp_transition_post_status can be used directly.

@shadyvb shadyvb reopened this Jul 20, 2014
@fjarrett
Copy link
Contributor

@shadyvb It's unfortunate that this was already merged and released publicly without knowing your full thoughts on the PR.

@shadyvb
Copy link
Contributor Author

shadyvb commented Jul 21, 2014

@fjarrett Sorry for that, though we probably still need to address this sometime, as it might be a breaking change for some - custom - connectors.

@fjarrett
Copy link
Contributor

@shadyvb #593 PR reverted from develop in c9b171a6624e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants