Take out undefined variable. fixes #2781
git-svn-id: http://svn.automattic.com/wordpress/trunk@5259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5fae2af843
commit
876b0c431f
|
@ -1759,7 +1759,7 @@ function get_plugin_data( $plugin_file ) {
|
||||||
$author = '<a href="' . trim( $author_uri[1] ) . '" title="'.__( 'Visit author homepage' ).'">' . trim( $author_name[1] ) . '</a>';
|
$author = '<a href="' . trim( $author_uri[1] ) . '" title="'.__( 'Visit author homepage' ).'">' . trim( $author_name[1] ) . '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return array ('Name' => $name, 'Title' => $plugin, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1] );
|
return array('Name' => $name, 'Title' => $plugin, 'Description' => $description, 'Author' => $author, 'Version' => $version);
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_plugins() {
|
function get_plugins() {
|
||||||
|
|
Loading…
Reference in New Issue