Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51230, comment 6


Ignore:
Timestamp:
08/11/2024 03:50:48 PM (2 months ago)
Author:
xaymup
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51230, comment 6

    initial v1  
    22> Adding `good-first-bug` to explore a few ways to add some additional context for `development` sites.
    33
    4 I believe this issue has been resolved. After examining the source code in class-wp-site-health.php, I noticed a condition that sets the status to 'recommended' rather than 'critical' in development environments:
     4This has been resolved in the latest version by using a function `is_development_environment()`. After examining the source code in `class-wp-site-health.php`, I noticed a condition that sets the status to `recommended` rather than `critical` in development environments:
    55
    66
     
    1111                                }
    1212}}}
     13
     14`wp_get_environment_type()` is already present in WordPress version 5.5's
     15`load.php` file. So the same way of checking could be applied to version 5.5.