WordPress.org

Make WordPress Core

Changeset 7719


Ignore:
Timestamp:
04/17/08 19:20:15 (6 years ago)
Author:
ryan
Message:

Key meta box array by id. Props Denis-de-Bernardy. fixes #6192 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r7689 r7719  
    10631063        $wp_meta_boxes[$page][$context] = array(); 
    10641064 
    1065     $wp_meta_boxes[$page][$context][] = array('id' => $id, 'title' => $title, 'callback' => $callback); 
     1065    $wp_meta_boxes[$page][$context][$id] = array('id' => $id, 'title' => $title, 'callback' => $callback); 
    10661066} 
    10671067 
Note: See TracChangeset for help on using the changeset viewer.