Changeset 49743
- Timestamp:
- 12/03/2020 08:21:14 PM (4 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
-
branches/5.6/src/wp-admin/includes/update.php
r49711 r49743 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.