WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 2 months ago

#45767 new defect (bug)

meta_box gutenberg css dashicons svg

Reported by: arena Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0
Component: Editor Keywords: needs-gutenberg-report
Focuses: ui Cc:

Description

In a plugin, i am adding some meta_boxes using this kind of code :

<?php

add_meta_box( 'my_meta_box', __( 'My Meta Box'), array( __CLASS__, 'my_meta_box' ), 'post', 'side', 'core' );

but the rendering is different from the standard wordpress meta_box(es) :

cursor is different (cross vs hand)

toggle icon is different (dashicon [content: "\f140";] vs svg

Attachments (1)

Gutemberg.PNG (62.4 KB) - added by arena 3 months ago.
metabox

Download all attachments as: .zip

Change History (5)

@arena
3 months ago

metabox

#1 @mukesh27
3 months ago

  • Component changed from Administration to Editor
  • Focuses ui added

#2 @SergeyBiryukov
3 months ago

  • Summary changed from meta_box gutenber css dashicons svg to meta_box gutenberg css dashicons svg

#3 @pento
2 months ago

  • Version changed from trunk to 5.0

#4 @pento
2 months ago

  • Keywords needs-gutenberg-report added
Note: See TracTickets for help on using tickets.