Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
9942ac36
Verified
Commit
9942ac36
authored
Nov 03, 2016
by
Erick Hitter
Browse files
Introduce a namespace to keep class names sane
parent
a393fc67
Changes
2
Hide whitespace changes
Inline
Side-by-side
includes/class-
wp-
cron-
control-revisited-cr
on-cpt.php
→
includes/class-cron-
opti
on
s
-cpt.php
View file @
9942ac36
File moved
wp-cron-control-revisited.php
View file @
9942ac36
...
...
@@ -8,7 +8,9 @@
Text Domain: wp-cron-control-revisited
*/
class
WP_Cron_Control_Revisited
{
namespace
WP_Cron_Control_Revisited
;
class
Main
{
/**
* Class instance
*/
...
...
@@ -49,7 +51,7 @@ class WP_Cron_Control_Revisited {
*/
private
function
__construct
()
{
// Load dependencies
require
__DIR__
.
'/includes/class-
wp-
cron-
control-revisited-cr
on-cpt.php'
;
require
__DIR__
.
'/includes/class-cron-
opti
on
s
-cpt.php'
;
// For now, leave WP-CLI alone
if
(
defined
(
'WP_CLI'
)
&&
WP_CLI
)
{
...
...
@@ -476,4 +478,4 @@ class WP_Cron_Control_Revisited {
}
}
WP_Cron_Control_Revisited
::
instance
();
Main
::
instance
();
Write
Preview
Supports
Markdown
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