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
2634c73b
Verified
Commit
2634c73b
authored
Dec 05, 2016
by
Erick Hitter
Browse files
Improve display order
parent
890e6d0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/wp-cli/class-data.php
View file @
2634c73b
...
...
@@ -71,9 +71,9 @@ class Data extends \WP_CLI_Command {
'instance'
,
'next_run_gmt'
,
'next_run_relative'
,
'last_updated_gmt'
,
'recurrence'
,
'schedule_name'
,
'last_updated_gmt'
,
'event_args'
,
)
);
}
...
...
@@ -150,9 +150,9 @@ class Data extends \WP_CLI_Command {
'instance'
=>
''
,
'next_run_gmt'
=>
date
(
$this
->
time_format
,
strtotime
(
$event
->
post_date_gmt
)
),
'next_run_relative'
=>
$this
->
calculate_interval
(
strtotime
(
$event
->
post_date_gmt
)
-
time
()
),
'last_updated_gmt'
=>
date
(
$this
->
time_format
,
strtotime
(
$event
->
post_modified_gmt
)
),
'recurrence'
=>
__
(
'Non-repeating'
,
'automattic-cron-control'
),
'schedule_name'
=>
__
(
'n/a'
,
'automattic-cron-control'
),
'last_updated_gmt'
=>
date
(
$this
->
time_format
,
strtotime
(
$event
->
post_modified_gmt
)
),
'event_args'
=>
''
,
);
...
...
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