[wp-trac] [WordPress Trac] #51230: WP_DEBUG is flagged when using the development environment type
WordPress Trac
noreply at wordpress.org
Thu Sep 3 12:43:59 UTC 2020
#51230: WP_DEBUG is flagged when using the development environment type
--------------------------+-----------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 5.5
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
This was a request from the comments of the New `wp_get_environment_type()
function in WordPress 5.5 post from @robertreiser:
> Setting the environment to development also sets WP_DEBUG, which makes
sense and I had WP_DEBUG enabled anyway on my development site.
>
> But the site health tool still shows an error regarding the use of
WP_DEBUG:
>
> Your site is set to display errors to site visitors
>
> In case if setting the environment to development, this should no longer
be shown as an error in the site health tool.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51230>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list