Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Performance: disable page revisions #772

Open
luukdv opened this issue Feb 21, 2017 · 4 comments
Open

Performance: disable page revisions #772

luukdv opened this issue Feb 21, 2017 · 4 comments

Comments

@luukdv
Copy link

luukdv commented Feb 21, 2017

I think they should be disabled by default.

remove_post_type_support('page', 'revisions');

@haroldangenent
Copy link
Member

Could you clarify why you would (only) apply this for for pages?

@luukdv
Copy link
Author

luukdv commented Feb 27, 2017

Since there are no custom post types by default. We might as well remove it for posts too.

@haroldangenent
Copy link
Member

Maybe it would be better to define the constant in trendwerk/bedrock: https://codex.wordpress.org/Revisions.

We could either keep an X amount of revisions per post or disable them completely.

@luukdv
Copy link
Author

luukdv commented Feb 27, 2017

Nice. My vote would go to disabling them.

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

No branches or pull requests

2 participants