diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index f99e810ce0..34ff96a4c0 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1062,7 +1062,7 @@ function add_meta_box($id, $title, $callback, $page, $context = 'advanced') { if ( !isset($wp_meta_boxes[$page][$context]) ) $wp_meta_boxes[$page][$context] = array(); - $wp_meta_boxes[$page][$context][] = array('id' => $id, 'title' => $title, 'callback' => $callback); + $wp_meta_boxes[$page][$context][$id] = array('id' => $id, 'title' => $title, 'callback' => $callback); } function do_meta_boxes($page, $context, $object) {