WordPress.org

Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #4287


Ignore:
Timestamp:
05/25/07 15:57:29 (7 years ago)
Author:
rob1n
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4287 – Description

    initial v3  
    55What really needs to occur, in this particular case, is that the original, unreplaced, before_widget string needs to get "$1" replaced with "%id", allowing the normal wp_list_bookmarks code to work correctly, ensuring a unique ID for each of the bookmark blocks. 
    66 
    7 What the right was to do this is, I'm not entirely certain. We could copy the original string to $params[0]['original_before_widget'] and then let wp_widget_links handle it correctly by doing its own replacement. That would work. 
     7What the right was to do this is, I'm not entirely certain. We could copy the original string to $params![0]!['original_before_widget'] and then let wp_widget_links handle it correctly by doing its own replacement. That would work.