mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Fix the case-sensitivity of some HTTP class usage.
See #33413. git-svn-id: https://develop.svn.wordpress.org/trunk@34123 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3997,7 +3997,7 @@ function _links_add_base( $m ) {
|
||||
return $m[1] . '=' . $m[2] .
|
||||
( preg_match( '#^(\w{1,20}):#', $m[3], $protocol ) && in_array( $protocol[1], wp_allowed_protocols() ) ?
|
||||
$m[3] :
|
||||
WP_HTTP::make_absolute_url( $m[3], $_links_add_base )
|
||||
WP_Http::make_absolute_url( $m[3], $_links_add_base )
|
||||
)
|
||||
. $m[2];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user