Recent Commits to wp-pluginsused:master (1)

  • 23/08/2026 2:13

    Read the option rows with the plugin switched off

    Read the option rows with the plugin switched off
    
    maybe_upgrade() moved from admin_init to init, so every `wp eval` the e2e
    helpers make now boots the plugin. That broke the upgrade fixtures twice
    over: the precondition check that reads the version row was the thing that
    stamped it, and the eval that writes the legacy row stamped the version
    first -- so the browser request that was meant to fold the row in returned
    early and left it behind.
    
    The row plumbing now goes through rowEval(), which passes --skip-plugins
    after the bare `--` wp-env wants. The mu-plugin fixture options and the
    helpers that need the plugin's own classes keep the plain wpEval.
    
    Also opens a test docblock with a capital, which phpcs asks for.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01HotBdNed6CpBUiz1Bpjvei

Log in