Changeset 12523 for trunk/wp-includes/update.php
- Timestamp:
- 12/23/2009 06:35:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/update.php
r12348 r12523 45 45 $mysql_version = 'N/A'; 46 46 $local_package = isset( $wp_local_package )? $wp_local_package : ''; 47 $url = "http://api.wordpress.org/core/version-check/1. 3/?version=$wp_version&php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package";47 $url = "http://api.wordpress.org/core/version-check/1.4/?version=$wp_version&php=$php_version&locale=$locale&mysql=$mysql_version&local_package=$local_package"; 48 48 49 49 $options = array( … … 75 75 if ( isset( $returns[4] ) ) 76 76 $new_option->locale = esc_attr( $returns[4] ); 77 if ( isset( $returns[5] ) ) 78 $new_option->php_version = esc_attr( $returns[5] ); 79 if ( isset( $returns[6] ) ) 80 $new_option->mysql_version = esc_attr( $returns[6] ); 77 81 $new_options[] = $new_option; 78 82 }
Note: See TracChangeset
for help on using the changeset viewer.