Changeset 38470 for trunk/src/wp-includes/comment.php
- Timestamp:
- 08/31/2016 04:30:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r38459 r38470 2367 2367 */ 2368 2368 function pingback($content, $post_ID) { 2369 include_once( ABSPATH . WPINC . '/class-IXR.php' ); 2370 include_once( ABSPATH . WPINC . '/class-wp-http-ixr-client.php' ); 2371 2369 2372 // original code by Mort (http://mort.mine.nu:8080) 2370 2373 $post_links = array(); … … 2505 2508 */ 2506 2509 function weblog_ping($server = '', $path = '') { 2510 include_once( ABSPATH . WPINC . '/class-IXR.php' ); 2511 include_once( ABSPATH . WPINC . '/class-wp-http-ixr-client.php' ); 2512 2507 2513 // using a timeout of 3 seconds should be enough to cover slow servers 2508 2514 $client = new WP_HTTP_IXR_Client($server, ((!strlen(trim($path)) || ('/' == $path)) ? false : $path));
Note: See TracChangeset
for help on using the changeset viewer.