#6948 closed defect (bug) (invalid)
add_meta_box sample code has syntax error
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | WordPress.org Site | Keywords: | |
| Focuses: | Cc: |
Description
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.)
Change History (2)
Note: See
TracTickets for help on using
tickets.
The codex is a wiki, so you can edit it yourself, using the same username you used to create this ticket.