Skip to content
Snippets Groups Projects
Commit af390c8c authored by Erick Hitter's avatar Erick Hitter
Browse files

Increase priority so the plugin runs after other things.

parent 3070bda9
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ class WP_Revisions_Control {
private function setup() {
add_action( 'admin_init', array( $this, 'action_admin_init' ) );
add_filter( 'wp_revisions_to_keep', array( $this, 'filter_wp_revisions_to_keep' ), 10, 2 );
add_filter( 'wp_revisions_to_keep', array( $this, 'filter_wp_revisions_to_keep' ), 50, 2 );
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment