WordPress.org

Make WordPress Core

Changeset 7718


Ignore:
Timestamp:
04/17/08 19:19:50 (7 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r7670 r7718  
    10611061        $wp_meta_boxes[$page][$context] = array(); 
    10621062 
    1063     $wp_meta_boxes[$page][$context][] = array('id' => $id, 'title' => $title, 'callback' => $callback); 
     1063    $wp_meta_boxes[$page][$context][$id] = array('id' => $id, 'title' => $title, 'callback' => $callback); 
    10641064} 
    10651065 
Note: See TracChangeset for help on using the changeset viewer.