Changeset 3803670 for site-reviews/trunk/plugin/Database/OptionManager.php
- Timestamp:
- 11/15/2026 06:04:19 PM (61 minutes ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
site-reviews/trunk/plugin/Database/OptionManager.php
r3769299 r3803670 313 313 $writes = []; 314 314 $versions = []; 315 foreach (static::addons() as $ slug => $addon) {315 foreach (static::addons() as $addon) { 316 316 if ($addon->hostedBy()) { 317 317 continue; // the host claims its whole subtree, hosted values included … … 382 382 { 383 383 $option = get_option($path, $fallback); 384 return Cast::to($cast, Helper::ifEmpty($option, $fallback, $strict = true));384 return Cast::to($cast, Helper::ifEmpty($option, $fallback, true)); // use strict comparison 385 385 } 386 386 … … 393 393 protected function compose(array $settings): array 394 394 { 395 foreach (static::addons() as $ slug => $addon) {395 foreach (static::addons() as $addon) { 396 396 if ($addon->hostedBy()) { 397 397 continue; // mounted by its host's whole subtree
Note:
See TracChangeset
for help on using the changeset viewer.