Changeset 8572 for trunk/wp-includes/comment.php
- Timestamp:
- 08/06/2008 08:31:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r8543 r8572 53 53 $words = explode("\n", $mod_keys ); 54 54 55 foreach ( $words as $word) {55 foreach ( (array) $words as $word) { 56 56 $word = trim($word); 57 57 … … 1236 1236 // We don't wanna ping first and second types, even if they have a valid <link/> 1237 1237 1238 foreach ( $post_links_temp[0] as $link_test ) :1238 foreach ( (array) $post_links_temp[0] as $link_test ) : 1239 1239 if ( !in_array($link_test, $pung) && (url_to_postid($link_test) != $post_ID) // If we haven't pung it already and it isn't a link to itself 1240 1240 && !is_local_attachment($link_test) ) : // Also, let's never ping local attachments.
Note: See TracChangeset
for help on using the changeset viewer.