Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750

git-svn-id: https://develop.svn.wordpress.org/trunk@6717 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-02-04 20:38:48 +00:00
parent 40f80710a4
commit dc8a36221f
4 changed files with 16 additions and 10 deletions

View File

@@ -159,7 +159,7 @@ function register_widget_control($name, $control_callback, $width = '', $height
/* $options: height, width, id_base
* height: never used
* width: width of fully expanded control form. Try hard to use the default width.
* id_base: for widgets which allow multiple instances (such as the text widget), an id_base must be provided.
* id_base: for multi-widgets (widgets which allow multiple instances such as the text widget), an id_base must be provided.
* the widget id will ennd up looking like {$id_base}-{$unique_number}
*/
function wp_register_widget_control($id, $name, $control_callback, $options = array()) {
@@ -1389,7 +1389,7 @@ function wp_widgets_init() {
add_action('init', 'wp_widgets_init', 1);
/* Pattern for widget which allows multiple instances (such as the text widget)
/* Pattern for multi-widget (allows multiple instances such as the text widget).
// Displays widget on blag
// $widget_args: number