Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
0d2725a2
Commit
0d2725a2
authored
Feb 20, 2017
by
Erick Hitter
Browse files
Formatting
parent
a70a90f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/wp-cli/class-rest-api.php
View file @
0d2725a2
...
@@ -73,9 +73,9 @@ class REST_API extends \WP_CLI_Command {
...
@@ -73,9 +73,9 @@ class REST_API extends \WP_CLI_Command {
foreach
(
$events
as
$event
)
{
foreach
(
$events
as
$event
)
{
$event_data
=
\
Automattic\WP\Cron_Control\get_event_by_attributes
(
array
(
$event_data
=
\
Automattic\WP\Cron_Control\get_event_by_attributes
(
array
(
'timestamp'
=>
$event
[
'timestamp'
],
'timestamp'
=>
$event
[
'timestamp'
],
'action_hashed'
=>
$event
[
'action'
],
'action_hashed'
=>
$event
[
'action'
],
'instance'
=>
$event
[
'instance'
],
'instance'
=>
$event
[
'instance'
],
)
);
)
);
$formatted_events
[]
=
array
(
$formatted_events
[]
=
array
(
...
...
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