WordPress.org

Make WordPress Core

Ticket #39794: 39794.patch

File 39794.patch, 647 bytes (added by sebastian.pisula, 5 years ago)
  • wp-admin/includes/update.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    324324 * @since 2.9.0
    325325 */
    326326function wp_plugin_update_rows() {
    327         if ( !current_user_can('update_plugins' ) )
    328                 return;
    329 
    330327        $plugins = get_site_transient( 'update_plugins' );
    331328        if ( isset($plugins->response) && is_array($plugins->response) ) {
    332329                $plugins = array_keys( $plugins->response );