Changeset 49736
- Timestamp:
- 12/03/2020 02:04:32 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r49708 r49736 241 241 } 242 242 243 if ( ! isset( $cur->url ) ) {244 $cur->url = '';245 }246 247 243 if ( ! isset( $cur->response ) ) { 248 244 $cur->response = ''; 249 245 } 250 246 251 $is_development_version = preg_match( '/alpha|beta|RC/', $cur->version ); 247 // Include an unmodified $wp_version. 248 require ABSPATH . WPINC . '/version.php'; 249 250 $is_development_version = preg_match( '/alpha|beta|RC/', $wp_version ); 252 251 253 252 if ( $is_development_version && 'latest' === $cur->response ) {
Note: See TracChangeset
for help on using the changeset viewer.