Display revision if post status is pending
It took me a while but I got it! This works as follows: Since you have no reference to the post other than the URI, we segment out the URI to check for a page with that page_name If there is a page, we get the latest revision child Hack the query to force our … Read more