Created
December 12, 2019 18:13
-
-
Save underdown/6ec1cf6e19da66cd4ae4883be42cb0be to your computer and use it in GitHub Desktop.
Grab revisions from a wordpress post/page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find the initial post id by looking at a revision and then seeing what the post parent is. CHandler is 814 | |
SELECT * FROM `wp_posts` WHERE `post_parent` = "814" ORDER BY ID DESC | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment