PublicAddress blocks every private/reserved IPv4 and IPv6 range (169.254/16, 100.64/10, fc00::/7, fe80::/10, IPv4-mapped/NAT64/6to4 by their embedded address, ...) independent of the core version; checked before the request and on every redirect (Requests before_redirect). Network failures return only "Die Datei konnte nicht geladen werden."; the detail goes to the error log. DNS-rebinding pinning stays deferred. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7
19 lines
586 B
PHP
19 lines
586 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
if (! defined('ABSPATH')) {
|
|
define('ABSPATH', __DIR__ . '/');
|
|
}
|
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
require_once __DIR__ . '/Stubs/WpError.php';
|
|
require_once __DIR__ . '/Stubs/WpUser.php';
|
|
require_once __DIR__ . '/Stubs/WpRestRequest.php';
|
|
require_once __DIR__ . '/Stubs/Wpdb.php';
|
|
require_once __DIR__ . '/Stubs/WpPost.php';
|
|
require_once __DIR__ . '/Stubs/WpTerm.php';
|
|
require_once __DIR__ . '/Stubs/WpApplicationPasswords.php';
|
|
require_once __DIR__ . '/Stubs/WpListTable.php';
|
|
require_once __DIR__ . '/Stubs/RequestsException.php';
|