Rename new classes to match our coding standards. Fixes #15280.
git-svn-id: https://develop.svn.wordpress.org/trunk@16149 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
118eb442e1
commit
804b3a0747
@ -1741,7 +1741,7 @@ function generic_ping($post_id = 0) {
|
||||
function pingback($content, $post_ID) {
|
||||
global $wp_version;
|
||||
include_once(ABSPATH . WPINC . '/class-IXR.php');
|
||||
include_once(ABSPATH . WPINC . '/class.wp-http-ixr-client.php');
|
||||
include_once(ABSPATH . WPINC . '/class-wp-http-ixr-client.php');
|
||||
|
||||
// original code by Mort (http://mort.mine.nu:8080)
|
||||
$post_links = array();
|
||||
@ -1871,7 +1871,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
||||
function weblog_ping($server = '', $path = '') {
|
||||
global $wp_version;
|
||||
include_once(ABSPATH . WPINC . '/class-IXR.php');
|
||||
include_once(ABSPATH . WPINC . '/class.wp-http-ixr-client.php');
|
||||
include_once(ABSPATH . WPINC . '/class-wp-http-ixr-client.php');
|
||||
|
||||
// using a timeout of 3 seconds should be enough to cover slow servers
|
||||
$client = new WP_HTTP_IXR_Client($server, ((!strlen(trim($path)) || ('/' == $path)) ? false : $path));
|
||||
|
@ -53,7 +53,7 @@ exit;
|
||||
|
||||
include_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
include_once(ABSPATH . WPINC . '/class-IXR.php');
|
||||
include_once(ABSPATH . WPINC . '/class.wp-xmlrpc-server.php');
|
||||
include_once(ABSPATH . WPINC . '/class-wp-xmlrpc-server.php');
|
||||
|
||||
// Turn off all warnings and errors.
|
||||
// error_reporting(0);
|
||||
|
Loading…
Reference in New Issue
Block a user