WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#49186 closed defect (bug) (fixed)

Multisite: Use 'warning' styles for 'Caution' and 'Warning' messages during installation

Reported by: dlh Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-patch has-screenshots
Focuses: multisite Cc:

Description

When installing a multisite network through the admin UI, there are (at least) two messages shown to the user that are styled using the updated CSS class but convey cautionary messages:

  • "Warning: Please deactivate your plugins before enabling the Network feature."
  • "Caution: We recommend you back up your existing wp-config.php file." (or variants of this)

Given the purpose of these messages, the warning styles might be more appropriate. The attached patch would make that switch; before-and-after screenshots are also attached to illustrate one of the two instances.

Attachments (3)

49186.diff (1.2 KB) - added by dlh 7 months ago.
49186-before.png (101.1 KB) - added by dlh 7 months ago.
49186-after.png (103.7 KB) - added by dlh 7 months ago.

Download all attachments as: .zip

Change History (6)

@dlh
7 months ago

@dlh
7 months ago

@dlh
7 months ago

#1 @johnjamesjacoby
7 months ago

+1 from me

#2 @SergeyBiryukov
7 months ago

  • Milestone changed from Awaiting Review to 5.4
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @SergeyBiryukov
7 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 47067:

Networks and Sites: Use warning styles for 'Caution' and 'Warning' messages during Multisite installation.

Props dlh.
Fixes #49186.

Note: See TracTickets for help on using tickets.