Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
WP Revisions Control
Commits
af390c8c
Commit
af390c8c
authored
Jul 02, 2013
by
Erick Hitter
Browse files
Increase priority so the plugin runs after other things.
parent
3070bda9
Changes
1
Hide whitespace changes
Inline
Side-by-side
wp-revisions-control.php
View file @
af390c8c
...
...
@@ -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'
),
1
0
,
2
);
add_filter
(
'wp_revisions_to_keep'
,
array
(
$this
,
'filter_wp_revisions_to_keep'
),
5
0
,
2
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment