[wp-trac] [WordPress Trac] #46692: Site Health: WP_DEBUG_LOG just shown as Enabled when it actually contains a path
WordPress Trac
noreply at wordpress.org
Sat Mar 30 17:43:00 UTC 2019
#46692: Site Health: WP_DEBUG_LOG just shown as Enabled when it actually contains a
path
-----------------------------------+---------------------
Reporter: knutsp | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: Administration | Version: trunk
Severity: minor | Resolution:
Keywords: site-health has-patch | Focuses:
-----------------------------------+---------------------
Changes (by xkon):
* keywords: site-health has-patch needs-refresh => site-health has-patch
Comment:
[attachment:"46692.3.diff"] simplifies the if as @ocean90 mentioned.
I think we can simplify other ternary if/else as well since we check for
more constants that are always defined as well. I'll create a new ticket
for that :) .
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46692#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list