Ticket #12606: widgets.php.diff
File widgets.php.diff, 474 bytes (added by , 15 years ago) |
---|
-
wp-includes/widgets.php
490 490 } 491 491 492 492 if (isset($args['id'])) { 493 $_args['id'] = $args['id']; 493 if ( $number > 1 ){ 494 $_args['id'] = sprintf($args['id'] . '-%d', $i); 495 } else { 496 $_args['id'] = $args['id']; 497 } 494 498 } else { 495 499 $n = count($wp_registered_sidebars); 496 500 do {