WordPress.org

Make WordPress Core

Ticket #9797: 9797.diff

File 9797.diff, 443 bytes (added by Denis-de-Bernardy, 6 years ago)
  • wp-includes/widgets.php

     
    554554function wp_register_sidebar_widget($id, $name, $output_callback, $options = array()) { 
    555555        global $wp_registered_widgets; 
    556556 
    557         $id = strtolower($id); 
    558  
    559557        if ( empty($output_callback) ) { 
    560558                unset($wp_registered_widgets[$id]); 
    561559                return;