Duplicate code oddness in wp_insert_attachement
|Reported by:||Otto42||Owned by:||anonymous|
Just noticed this bit of code in SVN:
if ( isset($to_ping) )
$to_ping = preg_replace('|\s+|', "\n", $to_ping);
$to_ping = ;
...is duplicated in the wp_insert_attachment function. Line numbers 1345 and 1363.
Accidental copy/paste, or is there a reason for this that is cleverer than my current ability to fathom?