WordPress.org

Make WordPress Core

Changeset 7723


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-includes/widgets.php

    r7621 r7723  
    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.