mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -62,15 +62,15 @@ function wp_version_check() {
|
||||
foreach( explode( "\n\n", $body ) as $entry) {
|
||||
$returns = explode("\n", $entry);
|
||||
$new_option = new stdClass();
|
||||
$new_option->response = attribute_escape( $returns[0] );
|
||||
$new_option->response = attr( $returns[0] );
|
||||
if ( isset( $returns[1] ) )
|
||||
$new_option->url = clean_url( $returns[1] );
|
||||
if ( isset( $returns[2] ) )
|
||||
$new_option->package = clean_url( $returns[2] );
|
||||
if ( isset( $returns[3] ) )
|
||||
$new_option->current = attribute_escape( $returns[3] );
|
||||
$new_option->current = attr( $returns[3] );
|
||||
if ( isset( $returns[4] ) )
|
||||
$new_option->locale = attribute_escape( $returns[4] );
|
||||
$new_option->locale = attr( $returns[4] );
|
||||
$new_options[] = $new_option;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user