WP_Site_Health::get_test_is_in_debug_mode

SummerySummery

Test if debug information is enabled.

Syntax

WP_Site_Health::get_test_is_in_debug_mode()

DescriptionDescription

When WP_DEBUG is enabled, errors and information may be disclosed to site visitors, or it may be logged to a publicly accessible file.

Debugging is also frequently left enabled after looking for errors on a site, as site owners do not understand the implications of this.

ReturnReturn

(array) The test results.

SourceSource

File: wp-admin/includes/class-wp-site-health.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top