git-svn-id: https://develop.svn.wordpress.org/trunk@3224 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-11-28 23:06:21 +00:00
parent 4ae18b8c15
commit e6ce4ad421
1 changed files with 0 additions and 4 deletions

View File

@ -81,10 +81,6 @@ function relocate_children($old_ID, $new_ID) {
function fix_attachment_links($post_ID) {
global $wp_rewrite;
// Relevance check.
if ( false == $wp_rewrite->using_permalinks() )
return;
$post = & get_post($post_ID);
$search = "#<a[^>]+rel=('|\")[^'\"]*attachment[^>]*>#ie";