Ticket #7479: 7479_plugin_data_title_field.diff
File 7479_plugin_data_title_field.diff, 926 bytes (added by , 16 years ago) |
---|
-
wp-admin/includes/plugin.php
89 89 ${$field} = ''; 90 90 } 91 91 92 if ('' != trim($uri) && '' != $name ) { 93 $title = '<a href="' . trim( $uri ) . '" title="'. __( 'Visit plugin homepage' ) . '">' . $name . '</a>'; 94 } else { 95 $title = $name; 96 } 97 92 98 return array( 93 'Name' => $name, 'PluginURI' => $uri, ' Description' => $description,94 ' Author' => $author_name, 'AuthorURI' => $author_uri, 'Version' => $version,95 ' TextDomain' => $text_domain, 'DomainPath' => $domain_path99 'Name' => $name, 'PluginURI' => $uri, 'Title' => $title, 100 'Description' => $description, 'Author' => $author_name, 'AuthorURI' => $author_uri, 101 'Version' => $version, 'TextDomain' => $text_domain, 'DomainPath' => $domain_path 96 102 ); 97 103 } 98 104