Make WordPress Core

Ticket #47835: 47835.diff

File 47835.diff, 716 bytes (added by vaishalipanchal, 5 years ago)

Patch.

  • wp-admin/includes/class-wp-plugins-list-table.php

    diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php
    index 90dec9dae5..92d1a945a1 100644
    a b class WP_Plugins_List_Table extends WP_List_Table { 
    761761
    762762                }
    763763
    764                 $requires_php   = isset( $plugin['requires_php'] ) ? $plugin['requires_php'] : null;
     764                $requires_php   = isset( $plugin_data['requires_php'] ) ? $plugin_data['requires_php'] : null;
    765765                $compatible_php = is_php_version_compatible( $requires_php );
    766766                $class          = $is_active ? 'active' : 'inactive';
    767767                $checkbox_id    = 'checkbox_' . md5( $plugin_data['Name'] );