How to hook in and modify the new revisions UI (3.6+)?

Let’s say I want to add some post_meta into the “new” revisions UI. I’m saving some meta on revisions only, and want to display it on this screen. Normally, I’d open up wp-admin/revisions.php look for some hooks and code away. But the revisions page is all done with Backbone. I don’t know Backbone (totally willing … Read more

How to properly turn off REVISIONS and AUTOSAVE for whole site and optionally for a custom post type only

Is there a hook/function combination that can be added to my theme’s functions.php to properly disable REVISIONS and AUTOSAVE for the entire wordpress installation? What about if just for a certain custom post type? Searching online gives various hacks from deregistering scripts to tampering with core files. What’s the acceptable/correct way to do this? 3 … Read more