Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#53194 closed defect (bug) (reported-upstream)

Custom Post Meta fields have different markup

Reported by: tomjdevisser's profile tomjdevisser Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords: needs-patch
Focuses: ui, css, administration Cc:

Description

When adding custom post meta fields, I noticed the styling is different. This is due to the classes being added automatically. This happens when using the add_meta_box function.

I'll attach some screenshots of the differences between the meta boxes. I think it would be nice to make these match.

Attachments (2)

Schermafbeelding 2021-05-12 om 12.13.55.png (41.5 KB) - added by tomjdevisser 2 years ago.
Difference between meta boxes
Schermafbeelding 2021-05-12 om 12.14.06.png (102.0 KB) - added by tomjdevisser 2 years ago.
HTML markup difference

Download all attachments as: .zip

Change History (5)

@tomjdevisser
2 years ago

Difference between meta boxes

@tomjdevisser
2 years ago

HTML markup difference

#1 @SergeyBiryukov
2 years ago

  • Component changed from General to Editor

#2 @skorasaurus
2 years ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

Hi,

Thanks for reporting and the screenshots.

This has been already reported at the Gutenberg issue tracker at https://github.com/WordPress/gutenberg/issues/12101

You can follow its progress there, contribute, and comment (it will require a github account) there.

#3 @desrosj
2 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.