mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
Rename new classes to match our coding standards. Fixes #15280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9bf103cd5f
commit
2bc7106135
@ -1741,7 +1741,7 @@ function generic_ping($post_id = 0) {
|
|||||||
function pingback($content, $post_ID) {
|
function pingback($content, $post_ID) {
|
||||||
global $wp_version;
|
global $wp_version;
|
||||||
include_once(ABSPATH . WPINC . '/class-IXR.php');
|
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)
|
// original code by Mort (http://mort.mine.nu:8080)
|
||||||
$post_links = array();
|
$post_links = array();
|
||||||
@ -1871,7 +1871,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
|||||||
function weblog_ping($server = '', $path = '') {
|
function weblog_ping($server = '', $path = '') {
|
||||||
global $wp_version;
|
global $wp_version;
|
||||||
include_once(ABSPATH . WPINC . '/class-IXR.php');
|
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
|
// 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));
|
$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 . 'wp-admin/includes/admin.php');
|
||||||
include_once(ABSPATH . WPINC . '/class-IXR.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.
|
// Turn off all warnings and errors.
|
||||||
// error_reporting(0);
|
// error_reporting(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user