- Timestamp:
- 03/20/2019 01:43:05 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r44717 r44937 747 747 } 748 748 749 $class = $is_active ? 'active' : 'inactive'; 750 $checkbox_id = 'checkbox_' . md5( $plugin_data['Name'] ); 751 if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ) ) ) { 749 $compatible_php = ( empty( $plugin_data['requires_php'] ) || version_compare( phpversion(), $plugin_data['requires_php'], '>=' ) ); 750 $class = $is_active ? 'active' : 'inactive'; 751 $checkbox_id = 'checkbox_' . md5( $plugin_data['Name'] ); 752 if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ) ) || ! $compatible_php ) { 752 753 $checkbox = ''; 753 754 } else {
Note: See TracChangeset
for help on using the changeset viewer.