Make WordPress Core

Ticket #26247: import-bug.diff

File import-bug.diff, 498 bytes (added by dramaley, 11 years ago)

Quick hack to fix importer issue. Mostly to demonstrate where i believe the problem to be.

  • wp-includes/http.php

    old new  
    458458                                || ( 192 === $parts[0] && 168 === $parts[1] )
    459459                        ) {
    460460                                // If host appears local, reject unless specifically allowed.
    461                                 if ( ! apply_filters( 'http_request_host_is_external', false, $host, $url ) )
    462                                         return false;
     461//                              if ( ! apply_filters( 'http_request_host_is_external', false, $host, $url ) )
     462//                                      return false;
    463463                        }
    464464                }
    465465        }