Plugin install: Add missing closing HTML tags.

props jwenerd.
fixes #29090. see #28673.

git-svn-id: https://develop.svn.wordpress.org/trunk@29348 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2014-08-01 20:43:26 +00:00
parent 7374913866
commit 4c0ae9bc47
1 changed files with 7 additions and 2 deletions

View File

@ -352,7 +352,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
}
$title = wp_kses( $plugin['name'], $plugins_allowedtags );
//Remove any HTML from the description.
// Remove any HTML from the description.
$description = strip_tags( $plugin['short_description'] );
$version = wp_kses( $plugin['version'], $plugins_allowedtags );
@ -414,7 +414,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
<div class="action-links">
<?php
if ( ! empty( $action_links ) ) {
echo '<ul class="plugin-action-buttons"><li>' . implode( '</li><li>', $action_links ) . '</li>';
echo '<ul class="plugin-action-buttons"><li>' . implode( '</li><li>', $action_links ) . '</li></ul>';
}
?>
</div>
@ -452,5 +452,10 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
</div>
<?php
}
// Close off the group divs of the last one
if ( ! empty( $group ) ) {
echo '</div></div>';
}
}
}