[wp-trac] [WordPress Trac] #6948: add_meta_box sample code has syntax error

WordPress Trac wp-trac at lists.automattic.com
Fri May 9 15:18:40 GMT 2008


#6948: add_meta_box sample code has syntax error
-----------------------------+----------------------------------------------
 Reporter:  ithinkihaveacat  |       Owner:  matt
     Type:  defect           |      Status:  new 
 Priority:  normal           |   Milestone:  2.7 
Component:  WordPress.org    |     Version:      
 Severity:  normal           |    Keywords:      
-----------------------------+----------------------------------------------
 The sample code at:

 http://codex.wordpress.org/Function_Reference/add_meta_box

 has a small syntax error: there's a semi-colon missing from the line:

 {{{
 $mydata = $_POST['myplugin_new_field']
 }}}

 (Near the bottom.)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6948>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list