Skip to content

chore: commit and PR uncommitted fixes from simple checkout form follow-up #738

@superdav42

Description

@superdav42

Problem

After PR #737 (simple checkout form template) merged, 4 files have uncommitted changes sitting on main:

  1. inc/checkout/class-checkout.php — JS validation fix: skip password rules when auto_generate_password is enabled on the form. Without this, the JS validator requires a password field that is never rendered.

  2. inc/class-wp-ultimo.php — Register wu_dmtable on $wpdb early in init() to prevent PHP notices about undefined property when domain mapping code runs before Domain_Mapping::startup().

  3. inc/models/class-domain.php — Same wu_dmtable fallback in Domain::get_by_domain() for non-sunrise plugin load paths.

  4. inc/admin-pages/class-checkout-form-list-admin-page.php — Add simple template entry (Email Only icon) to the checkout form template list.

Fix

Create a worktree branch, commit these 4 files with an appropriate message, and open a PR.

# Files to commit (already modified on main, need to be moved to a branch)
git -C /home/dave/Git/ultimate-multisite diff HEAD --name-only
# inc/admin-pages/class-checkout-form-list-admin-page.php
# inc/checkout/class-checkout.php
# inc/class-wp-ultimo.php
# inc/models/class-domain.php

Acceptance Criteria

  • All 4 files committed on a feature branch
  • PR opened targeting main
  • CI passes

aidevops.sh v3.5.611 plugin for OpenCode v1.3.0 with claude-sonnet-4-6 spent 5m and 11,704 tokens on this as a headless worker.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions