WordPress.org

Make WordPress Core

Ticket #47835: 46051.patch

File 46051.patch, 681 bytes (added by sharaz, 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;
     764                $requires_php   = isset( $plugin_data['RequiresPHP'] ) ? $plugin_data['RequiresPHP'] : null;
    765765                $compatible_php = is_php_version_compatible( $requires_php );
    766766                $class          = $is_active ? 'active' : 'inactive';
    767767                $checkbox_id    = 'checkbox_' . md5( $plugin_data['Name'] );