Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin-template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Library
plugin-template
Commits
bbe4601c
Commit
bbe4601c
authored
7 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Patches
Plain Diff
1.9
parent
b8067c35
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
classes/wpdesk/class-plugin.php
+2
-2
2 additions, 2 deletions
classes/wpdesk/class-plugin.php
plugin-template.php
+1
-1
1 addition, 1 deletion
plugin-template.php
with
3 additions
and
3 deletions
classes/wpdesk/class-plugin.php
+
2
−
2
View file @
bbe4601c
...
@@ -36,7 +36,7 @@ if ( ! class_exists( 'WPDesk_Plugin_1_9' ) ) {
...
@@ -36,7 +36,7 @@ if ( ! class_exists( 'WPDesk_Plugin_1_9' ) ) {
public
$default_settings_tab
=
'general'
;
public
$default_settings_tab
=
'general'
;
public
$setting_hooks
=
null
;
public
$setting
s
_hooks
=
null
;
public
$settings
=
null
;
public
$settings
=
null
;
public
$options
=
null
;
public
$options
=
null
;
...
@@ -149,7 +149,7 @@ if ( ! class_exists( 'WPDesk_Plugin_1_9' ) ) {
...
@@ -149,7 +149,7 @@ if ( ! class_exists( 'WPDesk_Plugin_1_9' ) ) {
* @return null
* @return null
*/
*/
public
function
get_settings_hooks
()
{
public
function
get_settings_hooks
()
{
return
$this
->
setting_hooks
;
return
$this
->
setting
s
_hooks
;
}
}
...
...
This diff is collapsed.
Click to expand it.
plugin-template.php
+
1
−
1
View file @
bbe4601c
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
if
(
$this
->
plugin_is_active
()
)
{
if
(
$this
->
plugin_is_active
()
)
{
require_once
'classes/class-plugin-template-settings-hooks.php'
;
require_once
'classes/class-plugin-template-settings-hooks.php'
;
$this
->
setting_hooks
=
new
WPDesk_Plugin_Template_Settings_Hooks
(
$this
);
$this
->
setting
s
_hooks
=
new
WPDesk_Plugin_Template_Settings_Hooks
(
$this
);
$this
->
init
();
$this
->
init
();
$this
->
hooks
();
$this
->
hooks
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment