💡 Document use of “settings->set()” via comments

This commit is contained in:
Philipp Stracker 2025-02-18 13:04:51 +01:00
parent a13b8c03ff
commit 9f44657400
No known key found for this signature in database
10 changed files with 25 additions and 1 deletions

View file

@ -71,6 +71,7 @@ class LocalApmProductStatus extends ProductStatus {
}
}
// Settings used as a cache; `settings->set` is compatible with new UI.
if ( $has_capability ) {
$this->settings->set( self::SETTINGS_KEY, self::SETTINGS_VALUE_ENABLED );
} else {