[wp-trac] [WordPress Trac] #31750: add_meta_box() ignores calls with invalid $priority parameter

WordPress Trac noreply at wordpress.org
Thu Apr 9 06:52:54 UTC 2015


#31750: add_meta_box() ignores calls with invalid $priority parameter
-------------------------------+------------------------------
 Reporter:  bobbingwide        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  2.5
 Severity:  trivial            |  Resolution:
 Keywords:  dev-feedback       |     Focuses:
-------------------------------+------------------------------

Comment (by bobbingwide):

 This is what I should have had
 {{{
 add_meta_box( 'oik_clone', __( "Clone on update", "oik"), 'oik_clone_box',
 null, 'side', 'default'  );
 }}}

 This is what had by mistake
 {{{
 add_meta_box( 'oik_clone', __( "Clone on update", "oik"), 'oik_clone_box',
 null, null, 'side'  );
 }}}

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


More information about the wp-trac mailing list