Changeset 16065
- Timestamp:
- 10/28/2010 10:15:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r16020 r16065 1742 1742 global $wp_version; 1743 1743 include_once(ABSPATH . WPINC . '/class-IXR.php'); 1744 1744 include_once(ABSPATH . WPINC . '/class.wp-http-ixr-client.php'); 1745 1745 1746 // original code by Mort (http://mort.mine.nu:8080) 1746 1747 $post_links = array(); … … 1792 1793 1793 1794 // using a timeout of 3 seconds should be enough to cover slow servers 1794 $client = new IXR_Client($pingback_server_url);1795 $client = new WP_HTTP_IXR_Client($pingback_server_url); 1795 1796 $client->timeout = 3; 1796 1797 $client->useragent = apply_filters( 'pingback_useragent', $client->useragent . ' -- WordPress/' . $wp_version, $client->useragent, $pingback_server_url, $pagelinkedto, $pagelinkedfrom); … … 1871 1872 global $wp_version; 1872 1873 include_once(ABSPATH . WPINC . '/class-IXR.php'); 1874 include_once(ABSPATH . WPINC . '/class.wp-http-ixr-client.php'); 1873 1875 1874 1876 // using a timeout of 3 seconds should be enough to cover slow servers 1875 $client = new IXR_Client($server, ((!strlen(trim($path)) || ('/' == $path)) ? false : $path));1877 $client = new WP_HTTP_IXR_Client($server, ((!strlen(trim($path)) || ('/' == $path)) ? false : $path)); 1876 1878 $client->timeout = 3; 1877 1879 $client->useragent .= ' -- WordPress/'.$wp_version;
Note: See TracChangeset
for help on using the changeset viewer.