Make WordPress Core

Ticket #60247: class-wp-xmlrpc-server.php.diff

File class-wp-xmlrpc-server.php.diff, 601 bytes (added by dartiss, 5 months ago)
  • wp-includes/class-wp-xmlrpc-server.php

    diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php
    index ae9a658718ed..5530a3c07754 100644
    a b public function pingback_ping( $args ) { 
    69396939                        return $this->pingback_error( 48, __( 'The pingback has already been registered.' ) );
    69406940                }
    69416941
    6942                 // Very stupid, but gives time to the 'from' server to publish!
     6942                // Gives time to the 'from' server to publish!
    69436943                sleep( 1 );
    69446944
    69456945                $remote_ip = preg_replace( '/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR'] );