WordPress.org

Make WordPress Core

Ticket #4287: wp-includes-widgets.php.patch

File wp-includes-widgets.php.patch, 467 bytes (added by docwhat, 10 years ago)
  • wp-includes/widgets.php

    old new  
    428428
    429429function wp_widget_links($args) {
    430430        extract($args, EXTR_SKIP);
     431    $before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget);
    431432        wp_list_bookmarks(array(
    432433                'title_before' => $before_title, 'title_after' => $after_title,
    433434                'category_before' => $before_widget, 'category_after' => $after_widget,