The WordPress coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. development team builds WordPress! Follow this site for general updates, status reports, and the occasional code debate. There’s lots of ways to contribute:
Found a bugbugA bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority.?Create a ticket in the bug tracker.
HTML markup improvements to the Login and Registration page
WordPress 6.4 brings a number of key improvements to the HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. markup of the wp-login.php page to make its structure more optimal and allow developers to have more customized individual styling flexibility. This change includes additional specific class names and better encapsulates the error and notice messages on the Login and Registration page.
Changes for the error and notice messages
Prior to WordPress 6.4, the <p>tagtagA directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.) was used to enclose notice messages, and the <div> tag was used for enclosing the error messages. This scenario is not optimal and was decided to be unified. Also, the error and notice messages were joined with the <br />\n tag in case there is more than one. This was not the best way to go because each message is thought to have different meanings.
In WordPress 6.4, the <p> tag encloses a single error message. Also, notice paragraphs are now wrapped with a div, and retain the .message, .reset-pass, and .register classes on the div (<div>) instead of the paragraph (<p>). CSSCSSCascading Style Sheets. selectors such as p.message will not apply styles to the notice messages. In the case of multiple errors, each message is a list item and bullets have been removed in favor of a small margin between error messages.
Additionally, in WordPress 6.4’s Login and Registration pages, .notice and .notice-error classes are being used on div containers with updated styles for showing the notices and error messages. Below is a structural comparison between the previous markup and the changed markup for the wp-login.php page of WordPress 6.4.
Changes in the Login form:
Multiple errors were separated by a line break before, and now the errors are in a list with a small margin between them.
Changes in the Registration form:
The “Register For This Site” notice message paragraph is now inside a div element; multiple errors now have list markup and a margin between them.
Changes in the Reset Password form:
Both the notice message and the single error messages are now paragraphs inside a div element instead of only one of those elements.
Some other changes from WP 6.4 are:
Removes .clear elements, and adds a 16px bottom margin for the password strength indicator and the registration form email message, to replace the <br> tag elements.
Changes in the margin and padding for Reset Password fields:
The zero bottom margin applies to the rp action but doesn’t apply to resetpass.
The 2.5rem right padding for password inputs applies to both the text and password types with the selector .js.login input.password-input, so the other ones would be unnecessary.
For more information visit TracTracAn open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress.ticketticketCreated for both bug reports and feature development on the bug tracker.: #30685
Introduction of new classes for wp-login.php footer links
In WordPress 6.4, new classes are introduced for the “Log in”, “Register” and “Lost your password?” links in the footer of wp-login.php forms so that they can be easily targeted for individual styling.
The newly introduced classes are:
.wp-login-log-in for the “Log in” link.
.wp-login-register for the “Register” link.
.wp-login-lost-password for the “Lost your password?” link.
From WordPress 6.4 onwards, developers and extenders can use these specific classes to target those footer links, and better personalize the visitor’s experience.