Ticket #4632: 4632.diff

File 4632.diff, 722 bytes (added by Denis-de-Bernardy, 3 years ago)

obsolete previous patch

  • Users/denis/Sites/sem-pro/wp-admin/includes/plugin.php

     
    121121                else 
    122122                        $plugin_data['Title'] = $plugin_data['Name']; 
    123123 
    124                 if ( ! empty($plugin_data['AuthorURI']) ) 
     124                if ( ! empty($plugin_data['AuthorURI']) && ! empty($plugin_data['Author']) ) 
    125125                        $plugin_data['Author'] = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . __( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>'; 
    126126 
    127127                $plugin_data['Description'] = wptexturize( $plugin_data['Description'] );