Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#56424 closed defect (bug) (invalid)

common.css sets font size for all <p>

Reported by: wputler's profile wputler Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8
Component: Administration Keywords:
Focuses: css Cc:

Description

Line 308 of wp-admin/css/common.css has the following

p,
.wp-die-message {
	font-size: 13px;
	line-height: 1.5;
	margin: 1em 0;
}

This is setting formatting for all <p> on the site.

Change History (3)

#1 @SergeyBiryukov
3 years ago

  • Component changed from Formatting to Administration
  • Keywords reporter-feedback added
  • Version changed from 6.0.1 to 3.8

Hi there, welcome to WordPress Trac! Thanks for the ticket.

Unless I'm missing something, that file is only supposed to be loaded in the admin and not on the front end, so that rule sets a base font size for all paragraphs in the admin area.

Appears to be introduced in [26072] / #25858, setting the version accordingly.

Could you elaborate a bit more on what is the issue here? Does it still happen with all plugins disabled and a default theme (Twenty Twenty-Two) activated? Could you share the steps to reproduce it on a clean install?

#2 @wputler
3 years ago

  • Resolution set to invalid
  • Status changed from new to closed

I went back to troubleshoot and it is indeed a plugin problem. I am sorry I submitted a bug report before thoroughly vetting. The plugins hadn't changed, but one was old enough that it caused the problem when WP updated.

#3 @SergeyBiryukov
3 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted

No worries, thanks for the follow-up! Glad you were able to identify and resolve the issue.

Note: See TracTickets for help on using tickets.