Fix warnings

git-svn-id: https://develop.svn.wordpress.org/trunk@12246 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-11-20 19:46:10 +00:00
parent 7425349d76
commit 4fd7b2fd8b
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -756,7 +756,7 @@ function _fix_attachment_links( $post_ID ) {
function _fix_attachment_links_replace_cb($match) {
global $_fix_attachment_link_id;
return stripslashes( 'href='.$m[1] ).get_attachment_link( $_fix_attachment_link_id ).stripslashes( $m[1] );
return stripslashes( 'href='.$match[1] ).get_attachment_link( $_fix_attachment_link_id ).stripslashes( $match[1] );
}
/**