Variable name fix. Props filosofo. see #4169

git-svn-id: https://develop.svn.wordpress.org/trunk@5310 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-25 03:02:28 +00:00
parent 272ad77beb
commit 8028b4b6bf
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'; ?>