Changeset 8944 for trunk/wp-includes/functions.php
- Timestamp:
- 09/21/2008 08:41:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r8784 r8944 803 803 function make_url_footnote( $content ) { 804 804 preg_match_all( '/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches ); 805 $ j = 0;805 $links_summary = "\n"; 806 806 for ( $i=0; $i<count($matches[0]); $i++ ) { 807 $links_summary = ( !$j ) ? "\n" : $links_summary;808 $j++;809 807 $link_match = $matches[0][$i]; 810 808 $link_number = '['.($i+1).']';
Note: See TracChangeset
for help on using the changeset viewer.