Make WordPress Core


Ignore:
Timestamp:
09/21/2008 08:41:25 PM (16 years ago)
Author:
westi
Message:

Notice fixes see #7509 props DD32 and jacobsantos.

File:
1 edited

Legend:

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

    r8784 r8944  
    803803function make_url_footnote( $content ) {
    804804    preg_match_all( '/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches );
    805     $j = 0;
     805    $links_summary = "\n";
    806806    for ( $i=0; $i<count($matches[0]); $i++ ) {
    807         $links_summary = ( !$j ) ? "\n" : $links_summary;
    808         $j++;
    809807        $link_match = $matches[0][$i];
    810808        $link_number = '['.($i+1).']';
Note: See TracChangeset for help on using the changeset viewer.