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

WordPress Trac noreply at wordpress.org
Tue Nov 19 21:22:26 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                  |     Focuses:  css
------------------------------------+------------------------
Changes (by joedolson):

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


Comment:

 In [changeset:"59424" 59424]:
 {{{
 #!CommitTicketReference repository="" revision="59424"
 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.

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

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


More information about the wp-trac mailing list