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
Cron-Control
Commits
f173916a
Commit
f173916a
authored
Aug 09, 2017
by
Erick Hitter
Committed by
GitHub
Aug 09, 2017
Browse files
`display_errors` should be a string
http://php.net/manual/en/errorfunc.configuration.php#ini.display-errors
parent
499adbba
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/wp-cli.php
View file @
f173916a
...
@@ -29,7 +29,7 @@ function prepare_environment() {
...
@@ -29,7 +29,7 @@ function prepare_environment() {
// Set DOING_CRON when appropriate
// Set DOING_CRON when appropriate
if
(
isset
(
$cmd
[
1
]
)
&&
'orchestrate'
===
$cmd
[
1
]
)
{
if
(
isset
(
$cmd
[
1
]
)
&&
'orchestrate'
===
$cmd
[
1
]
)
{
@
ini_set
(
'display_errors'
,
false
);
@
ini_set
(
'display_errors'
,
'0'
);
\
Automattic\WP\Cron_Control\set_doing_cron
();
\
Automattic\WP\Cron_Control\set_doing_cron
();
}
}
}
}
...
...
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