Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6948 closed defect (bug) (invalid)

add_meta_box sample code has syntax error

Reported by: ithinkihaveacat Owned by: matt
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org site Keywords:
Focuses: Cc:


The sample code at:


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)

comment:1 @filosofo7 years ago

  • Resolution set to invalid
  • Status changed from new to closed

The codex is a wiki, so you can edit it yourself, using the same username you used to create this ticket.

comment:2 @Viper007Bond7 years ago

  • Milestone 2.7 deleted
Note: See TracTickets for help on using tickets.