| 开发者 |
roytanck
markjaquith tflight mrwweb tekapo sdobreff |
|---|---|
| 更新时间 | 2025年12月19日 23:09 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv3 |
wp-config.php is writable) — consider installing our other plugin 0 Day Analytics.
Colors are intentionally fixed to avoid confusion. If colors were configurable, they'd need to be identical across all related servers to remain consistent.
Custom environment types were briefly supported in WordPress 5.5 but were removed in 5.5.1. This plugin does not support custom types.
By default, the environment type is shown only to users with administrative capabilities. This avoids exposing a prominent colored indicator to regular subscribers and other non-admin users.
For additional control, use the det_display_environment_type filter hook. Example:
function rt_det_display_filter( $display ) {
// Disable the environment type display for user ID 2.
return ( get_current_user_id() !== 2 );
}
add_filter( 'det_display_environment_type', 'rt_det_display_filter' );
WP_DEBUG constant. WP Control plugin introduced.