[wp-trac] [WordPress Trac] #51419: Reconsider the UX impact of up/down arrows on meta boxes

WordPress Trac noreply at wordpress.org
Sun Jan 31 22:08:37 UTC 2021


#51419: Reconsider the UX impact of up/down arrows on meta boxes
--------------------------+-----------------------------
 Reporter:  johnbillion   |       Owner:  sarahricker
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Editor        |     Version:  5.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-design  |     Focuses:  accessibility
--------------------------+-----------------------------

Comment (by johnbillion):

 Replying to [comment:14 sarahricker]:
 > I'm not able to replicate that, can you confirm if that is still an
 issue, @johnbillion?

 Yes it's still an issue, but it appears you need at least one side meta
 box and one advanced meta box registered for it to happen. Example code:

 {{{
 add_action( 'add_meta_boxes', function() {
         add_meta_box(
                 'test-side',
                 'Side',
                 function() {
                         echo 'I am on the side';
                 },
                 'post',
                 'side'
         );
         add_meta_box(
                 'test-advanced',
                 'Bottom',
                 function() {
                         echo 'I am at the bottom';
                 },
                 'post',
                 'advanced'
         );
 } );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51419#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list