Variable name fix. Props filosofo. see #4169

git-svn-id: http://svn.automattic.com/wordpress/trunk@5310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-25 03:02:28 +00:00
parent 129931fdcd
commit bc90e51a2f
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ function wp_widget_draggable( $name ) {
$output = '<li class="module" id="widgetprefix-%1$s"><span class="handle">%2$s</span></li>';
printf( $output, $sanitized_name, $name . $popper );
printf( $output, $sanitized_name, $wp_registered_widgets[$name]['name'] . $popper );
}
$title = __( 'Widgets' );
@ -236,4 +236,4 @@ if ( isset( $_POST['action'] ) ) {
<?php do_action( 'sidebar_admin_page' ); ?>
<?php require_once 'admin-footer.php'; ?>
<?php require_once 'admin-footer.php'; ?>