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:
parent
272ad77beb
commit
8028b4b6bf
@ -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'; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user