[wp-trac] [WordPress Trac] #62410: Custom login logo CSS targets changed

WordPress Trac noreply at wordpress.org
Wed Nov 20 01:57:20 UTC 2024


#62410: Custom login logo CSS targets changed
---------------------------------------------+------------------------
 Reporter:  leecollings                      |       Owner:  joedolson
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.7.1
Component:  Login and Registration           |     Version:  6.7
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  commit fixed-major dev-reviewed  |     Focuses:  css
---------------------------------------------+------------------------
Changes (by desrosj):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59429" 59429]:
 {{{
 #!CommitTicketReference repository="" revision="59429"
 Login: Revert selector change in login heading CSS.

 In [59138], the login screens were updated to change the `h1` heading from
 the logo to screen-reader hidden text. Along with that HTML change, we
 changed the CSS selectors from `.login h1` to `.login .wp-login-logo`.
 This unnecessary change increased specificity and broke the CSS selectors
 used by a wide variety of plugins to replace the login logo.

 Commit reverts the change in selector back to using the `.login h1`
 pattern.

 Reviewed by joedolson, desrosj.
 Merges [59424] to the 6.7 branch.

 Props leecollings, sabernhardt, im3dabasia1, roytanck, sailpete,
 joedolson.
 Fixes #62410.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62410#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list