Make WordPress Core


Ignore:
Timestamp:
07/31/2013 06:46:02 AM (12 years ago)
Author:
nacin
Message:

Additional checks when evaluating the safety of an HTTP request, to avoid false negatives.

Merges [24915] to the 3.6 branch.
fixes #24646.

Location:
branches/3.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6

  • branches/3.6/wp-includes/default-filters.php

    r24738 r24916  
    196196add_filter( 'pingback_ping_source_uri', 'pingback_ping_source_uri'            );
    197197add_filter( 'xmlrpc_pingback_error',    'xmlrpc_pingback_error'               );
     198
     199add_filter( 'http_request_host_is_external', 'allowed_http_request_hosts', 10, 2 );
    198200
    199201// Actions
Note: See TracChangeset for help on using the changeset viewer.