Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

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

Custom Post Meta fields have different markup

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

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 tomdevisser 5 years ago.
Difference between meta boxes
Schermafbeelding 2021-05-12 om 12.14.06.png​ (102.0 KB ) - added by tomdevisser 5 years ago.
HTML markup difference

Download all attachments as: .zip

Change History (5)

@tomdevisser
5 years ago

Difference between meta boxes

@tomdevisser
5 years ago

HTML markup difference

#1 @SergeyBiryukov
5 years ago

  • Component General → Editor

#2 @skorasaurus
5 years ago

  • Resolution → reported-upstream
  • Status new → 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
5 years ago

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