WordPress.org

Make WordPress Core

Ticket #47835: 47835.2.diff

File 47835.2.diff, 912 bytes (added by SergeyBiryukov, 2 months ago)
  • src/wp-admin/includes/class-wp-plugins-list-table.php

     
    761761
    762762                }
    763763
    764                 $requires_php   = isset( $plugin['requires_php'] ) ? $plugin['requires_php'] : null;
    765                 $compatible_php = is_php_version_compatible( $requires_php );
    766764                $class          = $is_active ? 'active' : 'inactive';
    767765                $checkbox_id    = 'checkbox_' . md5( $plugin_data['Name'] );
    768                 if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ) ) || ! $compatible_php ) {
     766                if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ) ) ) {
    769767                        $checkbox = '';
    770768                } else {
    771769                        /* translators: %s: plugin name */