WordPress.org

Make WordPress Core

Ticket #39794: 39794.2.patch

File 39794.2.patch, 652 bytes (added by sebastian.pisula, 12 months ago)

Updated patch for WP Version 5.5.1

  • wp-admin/includes/update.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    390390 * @since 2.9.0
    391391 */
    392392function wp_plugin_update_rows() {
    393         if ( ! current_user_can( 'update_plugins' ) ) {
    394                 return;
    395         }
    396 
    397393        $plugins = get_site_transient( 'update_plugins' );
    398394        if ( isset( $plugins->response ) && is_array( $plugins->response ) ) {
    399395                $plugins = array_keys( $plugins->response );