[wp-trac] [WordPress Trac] #47046: Site Health: Remove grading

WordPress Trac noreply at wordpress.org
Thu Sep 5 21:36:43 UTC 2019


#47046: Site Health: Remove grading
-----------------------------------+---------------------
 Reporter:  Cybr                   |       Owner:  (none)
     Type:  enhancement            |      Status:  new
 Priority:  high                   |   Milestone:  5.3
Component:  Site Health            |     Version:  5.2
 Severity:  normal                 |  Resolution:
 Keywords:  site-health has-patch  |     Focuses:  ui
-----------------------------------+---------------------

Comment (by afragen):

 Sorry, I just realized I should make a different ticket.

 For the `WP_DEBUG_LOG` something as simple as testing the error log path
 against `ABSPATH` and if `ABSPATH` is in the error log path the `critical`
 otherwise `recommended`.

 Just adding

 {{{$result['status'] = strpos( ini_get( 'error_log' ), ABSPATH ) ?
 'recommended' : 'critical';}}}

 to the end of `get_test_is_in_debug_mode()` might help.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47046#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list