my custom theme stopped writing revisions—where do I look?
-
I realize this question is incredibly vague and I don’t really expect meaningful answers.
I created a custom theme based on underscores years ago. I have modified it many times over the years.
Some time in the past few months, revisions have stopped working. When a post is updated previous versions do not appear in the database. ‘Revisions’ does not appear in Screen Options.
When I add
define( 'WP_POST_REVISIONS', true )to wp-config the problem is solved going forward, but I am curious where in the code for a custom theme something could have changed to break revisions.I can certainly diff an older version of the theme but I’m hoping for some insight from the inside, from how WordPress actually works (which I’d like to understand better.)
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.