Make WordPress Core


Ignore:
Timestamp:
08/01/2014 08:43:26 PM (12 years ago)
Author:
ocean90
Message:

Plugin install: Add missing closing HTML tags.

props jwenerd.
fixes #29090. see #28673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r29227 r29348  
    353353                        $title = wp_kses( $plugin['name'], $plugins_allowedtags );
    354354
    355                         //Remove any HTML from the description.
     355                        // Remove any HTML from the description.
    356356                        $description = strip_tags( $plugin['short_description'] );
    357357                        $version = wp_kses( $plugin['version'], $plugins_allowedtags );
     
    415415                                                <?php
    416416                                                        if ( ! empty( $action_links ) ) {
    417                                                                 echo '<ul class="plugin-action-buttons"><li>' . implode( '</li><li>', $action_links ) . '</li>';
     417                                                                echo '<ul class="plugin-action-buttons"><li>' . implode( '</li><li>', $action_links ) . '</li></ul>';
    418418                                                        }
    419419                                                ?>
     
    453453                <?php
    454454                }
     455
     456                // Close off the group divs of the last one
     457                if ( ! empty( $group ) ) {
     458                        echo '</div></div>';
     459                }
    455460        }
    456461}
Note: See TracChangeset for help on using the changeset viewer.