WordPress.org

Make WordPress Core

Ticket #10412: 10412.patch

File 10412.patch, 433 bytes (added by johnbillion, 6 years ago)
  • wp-admin/includes/plugin.php

     
    620620 
    621621        if ( empty($icon_url) ) 
    622622                $icon_url = 'images/generic.png'; 
     623        elseif ( is_ssl() && 0 === strpos($icon_url, 'http://') ) 
     624                $icon_url = 'https://' . substr($icon_url, 7); 
    623625 
    624626        $_wp_last_object_menu++; 
    625627