Skip to content

Track interactive PR #149 #151

Closed

Description

@superdav42

Outcome

Complete existing interactive PR #149 through its existing CI, review and merge gates. Preserve its commits; repair only evidenced failures.

Files Scope

  • includes/Options.php
  • readme.txt

Verification

Use the existing checks and verification documented on the source PR; inspect its exact-head CI and review feedback before repair. Do not bypass approval or security gates.

Recovery state

Initially blocked pending verified PR linkage. Pulse owns linkage recovery; after verification, existing feedback routing transitions this issue to available when repair is needed. No independent dispatch before that transition.


aidevops.sh v3.39.147 automated scan.

Activity

  1. added
    status:blocked
    origin:interactive
    on Nov 11, 2026
  2. superdav42 commented on Nov 11, 2026

    @superdav42
    CollaboratorAuthor

    Summary

    On multisite, when the plugin is not network-activated, settings were saved to the per-site wp_N_options table but always read with get_site_option(), which returns the network-level value. Sub-sites therefore saved their settings, never saw them again, and fell back to defaults (or to the primary site's values once it was configured).
    Reported at https://wordpress.org/support/topic/multi-log-config/

    Changes

    • includes/Options.php: get_options() now reads from the same store update_options() writes to: network option when network-activated, per-site option otherwise.
    • The static options cache is keyed by blog ID, so switch_to_blog() cannot return another site's cached settings.
    • readme.txt: changelog entry.

    Verification

    Ran the real Options class against a local multisite (plugin not network-active), saving timer=17 on blog 4 and then forcing a fresh read:

    • Before: re-read returned 5 (reproduces the report).
    • After: re-read returned 17; blogs 5 and 1 stayed at the default 5.
    • composer lint (PHPCS/PHPStan) and npm run lint pass with no errors.
      Not run: the PHPUnit suite (needs a disposable _test database) and browser testing. The existing multisite test bootstrap network-activates the plugin, so it exercises only the network path; no new test added.

    aidevops.sh v3.39.147 plugin for OpenCode


    Merged via PR #149 to master.
    Merged by deterministic merge pass (pulse-wrapper.sh).

  3. added
    solved:interactive
    on Nov 11, 2026
  4. added
    status:done
    and removed
    status:blocked
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    origin:interactivesolved:interactivestatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions