Skip to content

Commit 021930e

Browse files
committed
Build/Test Tools: Fix incorrect comment referencing wp-login.php.
The `#error` ID belongs to the database error container in wp-includes/class-wpdb.php, not wp-login.php (which uses `#login_error`). Update the comment to accurately describe the defensive `.error:not(#error)` selector.
1 parent 3b1097b commit 021930e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/visual-regression/config/screenshot.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252

5353
/*
5454
* Admin notices — various nags (PHP deprecation, updates, etc.).
55-
* `.error:not(#error)` excludes the `#error` container on wp-login.php,
56-
* which displays user-facing login errors and is part of the intended UI.
55+
* `.error:not(#error)` excludes the `<div id="error">` database error
56+
* container from wpdb (wp-includes/class-wpdb.php) as a defensive measure.
5757
*/
5858
.notice,
5959
.update-nag,

0 commit comments

Comments
 (0)