Changeset 45185 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 04/12/2019 11:55:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r45184 r45185 296 296 } 297 297 298 $compatible_php = ( empty( $plugin_data->update->requires_php ) || version_compare( phpversion(), $plugin_data->update->requires_php, '>=' ) ); 298 $requires_php = isset( $plugin_data->update->requires_php ) ? $plugin_data->update->requires_php : null; 299 $compatible_php = is_php_version_compatible( $requires_php ); 299 300 300 301 if ( ! $compatible_php && current_user_can( 'update_php' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.