Ticket #6948 (closed defect: invalid)

Opened 2 months ago

Last modified 2 months ago

add_meta_box sample code has syntax error

Reported by: ithinkihaveacat Assigned to: matt
Priority: normal Milestone:
Component: WordPress.org Version:
Severity: normal Keywords:
Cc: mjs@beebo.org

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

05/09/08 15:20:33 changed by filosofo

  • status changed from new to closed.
  • resolution set to invalid.

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

05/10/08 02:19:27 changed by Viper007Bond

  • milestone deleted.