mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8944 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -802,10 +802,8 @@ function maybe_serialize( $data ) {
|
||||
*/
|
||||
function make_url_footnote( $content ) {
|
||||
preg_match_all( '/<a(.+?)href=\"(.+?)\"(.*?)>(.+?)<\/a>/', $content, $matches );
|
||||
$j = 0;
|
||||
$links_summary = "\n";
|
||||
for ( $i=0; $i<count($matches[0]); $i++ ) {
|
||||
$links_summary = ( !$j ) ? "\n" : $links_summary;
|
||||
$j++;
|
||||
$link_match = $matches[0][$i];
|
||||
$link_number = '['.($i+1).']';
|
||||
$link_url = $matches[2][$i];
|
||||
|
||||
Reference in New Issue
Block a user