Plugin Directory


Ignore:
Timestamp:
11/15/2026 06:04:19 PM (61 minutes ago)
Author:
geminilabs
Message:

Release 8.3.8, see readme.txt for the changelog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • site-reviews/trunk/plugin/Database/OptionManager.php

    r3769299 r3803670  
    313313        $writes = [];
    314314        $versions = [];
    315         foreach (static::addons() as $slug => $addon) {
     315        foreach (static::addons() as $addon) {
    316316            if ($addon->hostedBy()) {
    317317                continue; // the host claims its whole subtree, hosted values included
    … …  
    382382    {
    383383        $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
    385385    }
    386386
    … …  
    393393    protected function compose(array $settings): array
    394394    {
    395         foreach (static::addons() as $slug => $addon) {
     395        foreach (static::addons() as $addon) {
    396396            if ($addon->hostedBy()) {
    397397                continue; // mounted by its host's whole subtree
Note: See TracChangeset for help on using the changeset viewer.