WordPress.org

Make WordPress Core

Ticket #30767: 30767.diff

File 30767.diff, 556 bytes (added by valendesigns, 6 years ago)
  • src/wp-admin/update-core.php

    diff --git src/wp-admin/update-core.php src/wp-admin/update-core.php
    index 7c939e7..25a75a8 100644
    function list_plugin_updates() { 
    241241<?php
    242242        foreach ( (array) $plugins as $plugin_file => $plugin_data) {
    243243                $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug ));
    244                 if ( is_wp_error( $info ) ) {
     244                if ( strpos( $plugin_data->update->package, 'https://downloads.wordpress.org' ) !== false && is_wp_error( $info ) ) {
    245245                        continue;
    246246                }
    247247