Plugin install: Add missing closing HTML tags.
props jwenerd. fixes #29090. see #28673. Built from https://develop.svn.wordpress.org/trunk@29348 git-svn-id: http://core.svn.wordpress.org/trunk@29125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fb9084eed3
commit
12e961cb61
|
@ -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>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue