Changeset 12598 for trunk/wp-includes/comment.php
- Timestamp:
- 01/04/2010 05:23:29 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r12584 r12598 79 79 $uri = parse_url($url); 80 80 $domain = $uri['host']; 81 $uri = parse_url( get_option('home') );81 $uri = parse_url( home_url() ); 82 82 $home_domain = $uri['host']; 83 83 if ( $wpdb->get_var($wpdb->prepare("SELECT link_id FROM $wpdb->links WHERE link_url LIKE (%s) LIMIT 1", '%'.$domain.'%')) || $domain == $home_domain ) … … 1820 1820 // when set to true, this outputs debug messages by itself 1821 1821 $client->debug = false; 1822 $home = trailingslashit( get_option('home') );1822 $home = trailingslashit( home_url() ); 1823 1823 if ( !$client->query('weblogUpdates.extendedPing', get_option('blogname'), $home, get_bloginfo('rss2_url') ) ) // then try a normal ping 1824 1824 $client->query('weblogUpdates.ping', get_option('blogname'), $home);
Note: See TracChangeset
for help on using the changeset viewer.