[wp-trac] [WordPress Trac] #56737: theme.json link styles overrides link styles in the front view of the WordPress adminbar
WordPress Trac
noreply at wordpress.org
Wed Oct 5 14:07:52 UTC 2022
#56737: theme.json link styles overrides link styles in the front view of the
WordPress adminbar
------------------------------+-----------------------
Reporter: poena | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"54395" 54395]:
{{{
#!CommitTicketReference repository="" revision="54395"
General: Add a default `font-style` value for Adminbar links.
If a theme includes a `theme.json` file and sets a specific `font-style`
on links, the font-style also changes the links in the WordPress admin
bar, when the admin bar is visible on front-end. For example, this happens
with the `pitch` style variation of Twenty Twenty-Three.
Using a default value for the `font-style` property prevents `theme.json`
files from overriding it.
Props audrasjb, poena.
Fixes #56737.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56737#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list