WordPress.org

Make WordPress Core

Opened 5 weeks ago

Closed 4 weeks ago

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

Custom Post Meta fields have different markup

Reported by: tomjdevisser Owned by:
Milestone: Awaiting Review 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 5 weeks ago.
Difference between meta boxes
Schermafbeelding 2021-05-12 om 12.14.06.png (102.0 KB) - added by tomjdevisser 5 weeks ago.
HTML markup difference

Download all attachments as: .zip

Change History (4)

@tomjdevisser
5 weeks ago

Difference between meta boxes

@tomjdevisser
5 weeks ago

HTML markup difference

#1 @SergeyBiryukov
5 weeks ago

  • Component changed from General to Editor

#2 @skorasaurus
4 weeks 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.

Note: See TracTickets for help on using tickets.