WordPress.org

Make WordPress Core

Ticket #4169: wp-admin_widgets.php

File wp-admin_widgets.php, 470 bytes (added by filosofo, 7 years ago)
Line 
1Index: wp-admin/widgets.php
2===================================================================
3--- wp-admin/widgets.php        (revision 5305)
4+++ wp-admin/widgets.php        (working copy)
5@@ -38,7 +38,7 @@
6       
7        $output = '<li class="module" id="widgetprefix-%1$s"><span class="handle">%2$s</span></li>';
8       
9-       printf( $output, $sanitized_name, $name . $popper );
10+       printf( $output, $sanitized_name, $wp_registered_widgets[$name]['name'] . $popper );
11 }
12 
13 $title = __( 'Widgets' );