Index: /Users/scottbasgaard/Sites/trunk/wp-admin/includes/plugin-install.php
===================================================================
--- /Users/scottbasgaard/Sites/trunk/wp-admin/includes/plugin-install.php (revision 13254)
+++ /Users/scottbasgaard/Sites/trunk/wp-admin/includes/plugin-install.php (working copy)
@@ -309,7 +309,6 @@
|
|
|
- |
@@ -319,7 +318,6 @@
|
|
|
- |
@@ -333,6 +331,12 @@
$plugin = (array) $plugin;
$title = wp_kses($plugin['name'], $plugins_allowedtags);
+ $version = wp_kses($plugin['version'], $plugins_allowedtags);
+ $name = strip_tags($title . ' ' . $version);
+ $title = '' . $name . '';
+
//Limit description to 400char, and remove any HTML.
$description = strip_tags($plugin['description']);
if ( strlen($description) > 400 )
@@ -344,25 +348,12 @@
$description = preg_replace("|(\r?\n)+|", "\n", $description);
//\n =>
$description = nl2br($description);
- $version = wp_kses($plugin['version'], $plugins_allowedtags);
- $name = strip_tags($title . ' ' . $version);
-
$author = $plugin['author'];
if ( ! empty($plugin['author']) )
$author = ' ' . sprintf( __('By %s'), $author ) . '.';
$author = wp_kses($author, $plugins_allowedtags);
-
- if ( isset($plugin['homepage']) )
- $title = '' . $title . '';
-
- $action_links = array();
- $action_links[] = '' . __('Install') . '';
-
- $action_links = apply_filters('plugin_install_action_links', $action_links, $plugin);
?>
|
@@ -378,7 +369,6 @@
|
- |