WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

Last modified 5 months ago

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

Custom Post Meta fields have different markup

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

Download all attachments as: .zip

Change History (5)

@tomjdevisser
7 months ago

Difference between meta boxes

@tomjdevisser
7 months ago

HTML markup difference

#1 @SergeyBiryukov
7 months ago

  • Component changed from General to Editor

#2 @skorasaurus
7 months 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
5 months ago

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