mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -67,9 +67,9 @@ function wp_version_check() {
|
||||
$new_option = new stdClass();
|
||||
$new_option->response = esc_attr( $returns[0] );
|
||||
if ( isset( $returns[1] ) )
|
||||
$new_option->url = clean_url( $returns[1] );
|
||||
$new_option->url = esc_url( $returns[1] );
|
||||
if ( isset( $returns[2] ) )
|
||||
$new_option->package = clean_url( $returns[2] );
|
||||
$new_option->package = esc_url( $returns[2] );
|
||||
if ( isset( $returns[3] ) )
|
||||
$new_option->current = esc_attr( $returns[3] );
|
||||
if ( isset( $returns[4] ) )
|
||||
|
||||
Reference in New Issue
Block a user