Skip to content

fix: hidden continue button on multisite setup wizard complete step (#842)#853

Merged
superdav42 merged 2 commits intomainfrom
feature/auto-20260414-093936
Apr 14, 2026
Merged

fix: hidden continue button on multisite setup wizard complete step (#842)#853
superdav42 merged 2 commits intomainfrom
feature/auto-20260414-093936

Conversation

@superdav42
Copy link
Copy Markdown
Collaborator

Summary

Resolves #842

The Continue to Multisite Ultimate Setup and Refresh and Check Again buttons on the wp-ultimo-multisite-setup wizard's step=complete page were completely invisible. Users could not proceed after enabling WordPress Multisite.

Root Cause

section_complete() and display_manual_instructions() in class-multisite-setup-admin-page.php used Tailwind utility classes that are not compiled into framework.css:

Missing class Effect
wu-bg-blue-600 No background on "Continue" button
hover:wu-bg-blue-700 No hover state
wu-bg-green-600 No background on "Refresh and Check Again" button
hover:wu-bg-green-700 No hover state

wu-text-white is in the CSS, so both buttons rendered white text on a transparent (white) background — invisible.

Fix

  • Replace both buttons with standard WordPress button button-primary button-large classes, which are always styled by WP Admin CSS regardless of admin colour scheme.
  • Replace info-box classes that reference -50 and -200 shade variants absent from framework.css with the nearest available alternatives:
    • wu-bg-blue-50wu-bg-blue-100
    • wu-bg-green-50wu-bg-green-100
    • wu-bg-gray-50wu-bg-gray-100
    • wu-border-blue-200wu-border-blue-500
    • wu-border-green-200wu-border-green-300
    • wu-text-blue-800wu-text-blue-700

Testing

  • Added test_section_complete_button_uses_wp_button_classes_not_missing_tailwind — asserts button-primary is present and wu-bg-blue-600/wu-bg-blue-700 are absent.
  • Added test_display_manual_instructions_button_uses_wp_button_classes — asserts button-primary is present and wu-bg-green-600/wu-bg-green-700 are absent.
  • All 37+ existing Multisite_Setup_Admin_Page_Test tests continue to pass (exit 0).

Verification

WP_TESTS_DIR=/tmp/wordpress-tests-lib vendor/bin/phpunit --filter Multisite_Setup_Admin_Page_Test --no-coverage

…site setup wizard complete step

The 'Continue to Multisite Ultimate Setup' and 'Refresh and Check Again'
buttons on the wp-ultimo-multisite-setup page were invisible. Both used
wu-bg-blue-600 / wu-bg-green-600 which are not compiled into framework.css.
With wu-text-white present but no background colour, the result was white
text on a white/transparent background — invisible.

Replace both buttons with standard WordPress button-primary/button-large
classes which are always styled by WP Admin CSS regardless of theme.

Also fix related info-box CSS classes that reference -50 and -200 shade
variants not present in framework.css (bg-blue-50, bg-green-50, bg-gray-50,
border-blue-200, border-green-200, text-blue-800) with the closest available
equivalents (-100/-500 shades).

Fixes #842
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 14, 2026

Warning

Rate limit exceeded

@superdav42 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 28 minutes and 23 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 28 minutes and 23 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a3a0c4cf-7b74-40af-abb2-e7c5dc383e62

📥 Commits

Reviewing files that changed from the base of the PR and between d8e87dc and ce1ac4b.

📒 Files selected for processing (2)
  • inc/admin-pages/class-multisite-setup-admin-page.php
  • tests/WP_Ultimo/Admin_Pages/Multisite_Setup_Admin_Page_Test.php
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/auto-20260414-093936

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@superdav42
Copy link
Copy Markdown
Collaborator Author

Merge Summary

Issue: #842 — Hidden continue button on the multisite setup wizard complete step

Root cause: and in class-multisite-setup-admin-page.php used Tailwind classes (wu-bg-blue-600, wu-bg-green-600, etc.) that are not compiled into framework.css. Since wu-text-white IS in the CSS, both buttons rendered as white text on a transparent/white background — visually invisible.

Fix: Replaced both invisible buttons with standard WP button button-primary button-large classes (always styled by WP Admin CSS). Also replaced 6 other missing color shade classes in the info boxes with the nearest available equivalents.

Files changed:

  • inc/admin-pages/class-multisite-setup-admin-page.php — 2 button fixes + 6 alert-box color fixes
  • tests/WP_Ultimo/Admin_Pages/Multisite_Setup_Admin_Page_Test.php — 2 new regression tests

Verified: All existing tests pass (exit 0) locally.

@github-actions
Copy link
Copy Markdown

🔨 Build Complete - Ready for Testing!

📦 Download Build Artifact (Recommended)

Download the zip build, upload to WordPress and test:

🌐 Test in WordPress Playground (Very Experimental)

Click the link below to instantly test this PR in your browser - no installation needed!
Playground support for multisite is very limitied, hopefully it will get better in the future.

🚀 Launch in Playground

Login credentials: admin / password

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 14, 2026

Performance Test Results

Performance test results for a884293 are in 🛎️!

Note: the numbers in parentheses show the difference to the previous (baseline) test run. Differences below 2% or 0.5 in absolute values are not shown.

URL: /

Run DB Queries Memory Before Template Template WP Total LCP TTFB LCP - TTFB
0 41 37.78 MB 898.00 ms (+67.00 ms / +7% ) 160.00 ms (+5.00 ms / +3% ) 1091.50 ms (+41.00 ms / +4% ) 2038.00 ms 1953.55 ms 92.65 ms (+3.65 ms / +4% )
1 56 49.03 MB 927.50 ms 145.50 ms 1073.00 ms 2048.00 ms 1963.30 ms 82.50 ms

@superdav42 superdav42 merged commit 76be3cd into main Apr 14, 2026
9 of 11 checks passed
@github-actions
Copy link
Copy Markdown

🔨 Build Complete - Ready for Testing!

📦 Download Build Artifact (Recommended)

Download the zip build, upload to WordPress and test:

🌐 Test in WordPress Playground (Very Experimental)

Click the link below to instantly test this PR in your browser - no installation needed!
Playground support for multisite is very limitied, hopefully it will get better in the future.

🚀 Launch in Playground

Login credentials: admin / password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The multi-site setup wizard has a hidden continue button on the last step

1 participant