Commit af390c8c authored by Erick Hitter's avatar Erick Hitter

Increase priority so the plugin runs after other things.

parent 3070bda9
......@@ -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 );
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment