Changeset 45165
- Timestamp:
- 04/12/2019 02:01:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r45137 r45165 202 202 203 203 if ( ! $php_compat || ! $mysql_compat ) { 204 return false; 205 } 206 } 207 208 // If updating a plugin, ensure the minimum PHP version requirements are satisfied. 209 if ( 'plugin' === $type ) { 210 if ( ! empty( $item->requires_php ) && version_compare( phpversion(), $item->requires_php, '<' ) ) { 204 211 return false; 205 212 }
Note: See TracChangeset
for help on using the changeset viewer.