[wp-trac] [WordPress Trac] #14956: Fatal Error: add_meta_box

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 24 19:45:46 UTC 2010


#14956: Fatal Error:  add_meta_box
--------------------------------------+-------------------------------------
 Reporter:  javiertoledos             |        Owner:         
     Type:  defect (bug)              |       Status:  closed 
 Priority:  normal                    |    Milestone:         
Component:  Plugins                   |      Version:  3.0.1  
 Severity:  normal                    |   Resolution:  invalid
 Keywords:  fatal error add_meta_box  |  
--------------------------------------+-------------------------------------
Changes (by scribu):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Awaiting Review =>


Comment:

 The file that contains add_meta_box() is not loaded at that point.

 You need to hook into 'admin_menu' like the Codex suggests or even better
 in 'add_meta_boxes'.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14956#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list