Remove debug cruft. fixes #2056
git-svn-id: http://svn.automattic.com/wordpress/trunk@3288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4e4739b918
commit
ffcfc84b78
|
@ -95,7 +95,6 @@ function fix_attachment_links($post_ID) {
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$search = "# id=(\"|)(\d+)\\1#i";
|
$search = "# id=(\"|)(\d+)\\1#i";
|
||||||
foreach ( $anchor_matches[0] as $anchor ) {
|
foreach ( $anchor_matches[0] as $anchor ) {
|
||||||
echo "$search\n$anchor\n";
|
|
||||||
if ( 0 == preg_match($search, $anchor, $id_matches) )
|
if ( 0 == preg_match($search, $anchor, $id_matches) )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue