WordPress.org

Make WordPress Core

Changeset 7724


Ignore:
Timestamp:
04/17/2008 08:32:13 PM (10 years ago)
Author:
ryan
Message:

Make link widget IDs unique. Props docwhat. fixes #4287 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/widgets.php

    r7620 r7724  
    429429function wp_widget_links($args) {
    430430    extract($args, EXTR_SKIP);
     431
     432    $before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget);
    431433    wp_list_bookmarks(array(
    432434        'title_before' => $before_title, 'title_after' => $after_title,
Note: See TracChangeset for help on using the changeset viewer.