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
72c36f97
Commit
72c36f97
authored
Jun 29, 2013
by
Erick Hitter
Browse files
Don't translate the plugin name. That's just silly.
parent
dd8470ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
wp-revisions-control.php
View file @
72c36f97
...
...
@@ -84,7 +84,7 @@ class WP_Revisions_Control {
public
function
action_admin_init
()
{
register_setting
(
$this
->
settings_page
,
$this
->
settings_section
,
array
(
$this
,
'sanitize_options'
)
);
add_settings_section
(
$this
->
settings_section
,
__
(
'WP Revisions Control'
,
'wp_revisions_control'
),
array
(
$this
,
'settings_section_intro'
),
$this
->
settings_page
);
add_settings_section
(
$this
->
settings_section
,
'WP Revisions Control'
,
array
(
$this
,
'settings_section_intro'
),
$this
->
settings_page
);
foreach
(
$this
->
get_post_types
()
as
$post_type
=>
$name
)
{
add_settings_field
(
$this
->
settings_section
.
'-'
.
$post_type
,
$name
,
array
(
$this
,
'field_post_type'
),
$this
->
settings_page
,
$this
->
settings_section
,
array
(
'post_type'
=>
$post_type
)
);
...
...
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