Changeset 2562
- Timestamp:
- 04/20/2005 10:01:24 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-functions.php
r2546 r2562 653 653 $uri = parse_url($url); 654 654 $domain = $uri['host']; 655 if ( $wpdb->get_var("SELECT link_id FROM $wpdb->links WHERE link_url LIKE ('%$domain%') LIMIT 1") ) 655 $uri = parse_url( get_option('home') ); 656 $home_domain = $uri['host']; 657 if ( $wpdb->get_var("SELECT link_id FROM $wpdb->links WHERE link_url LIKE ('%$domain%') LIMIT 1") || $domain == $home_domain ) 656 658 return true; 657 659 else
Note: See TracChangeset
for help on using the changeset viewer.