Make WordPress Core


Ignore:
Timestamp:
03/10/2025 06:14:48 PM (6 hours ago)
Author:
joedolson
Message:

Administration: Update out of date error message styling.

Change several error message across core to use WordPress standard styling. Ensure only prefixes are wrapped in strong tags rather than the whole message, use notice notice-error classes where appropriate, and replace a custom error with wp_admin_notice() in multisite.

Props afercia, rajinsharwar, robinmartijn, mukesh27, sabernhardt, oglekler, joedolson, chaion07, im3dabasia1, audrasjb, dkarfa, najmulsaju.
Fixes #50402.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r59378 r59960  
    6969        .mu_register fieldset,
    7070            .mu_register legend { margin: 0; padding: 0; border: none; }
    71         .mu_register .error { font-weight: 600; padding: 10px; color: #333; background: #ffebe8; border: 1px solid #c00; }
     71        .mu_register .error { padding: 10px; color: #333; background: #ffebe8; border: 1px solid #c00; }
    7272        .mu_register input[type="submit"],
    7373            .mu_register #blog_title,
Note: See TracChangeset for help on using the changeset viewer.