Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 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)

#1 @filosofo
10 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.

#2 @Viper007Bond
10 years ago

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