mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Correct the deprecated function parameter in url_is_accessable_via_ssl()
. See #19555.
Built from https://develop.svn.wordpress.org/trunk@28710 git-svn-id: http://core.svn.wordpress.org/trunk@28526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d00b196084
commit
df7be9cd80
@ -3471,7 +3471,7 @@ function format_to_post( $content ) {
|
|||||||
* @return bool Whether SSL access is available.
|
* @return bool Whether SSL access is available.
|
||||||
*/
|
*/
|
||||||
function url_is_accessable_via_ssl( $url ) {
|
function url_is_accessable_via_ssl( $url ) {
|
||||||
_deprecated_function( __FUNCTION__, '4.0', '' );
|
_deprecated_function( __FUNCTION__, '4.0' );
|
||||||
|
|
||||||
$response = wp_remote_get( set_url_scheme( $url, 'https' ) );
|
$response = wp_remote_get( set_url_scheme( $url, 'https' ) );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user