diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php
index c1c67206a9..ef68e6b47e 100644
a
|
b
|
class WP_Automatic_Updater { |
205 | 205 | } |
206 | 206 | } |
207 | 207 | |
| 208 | // If it's a plugin update, are we actually compatible with its requirements? |
| 209 | if ( 'plugin' == $type ) { |
| 210 | if ( ! empty( $item->requires_php ) && version_compare( $item->requires_php, phpversion(), '>=' ) ) { |
| 211 | return false; |
| 212 | } |
| 213 | } |
| 214 | |
208 | 215 | return true; |
209 | 216 | } |
210 | 217 | |