Skip to content

Bug: Missing </form> and orphaned </div> in settings_page() causes wp_footer to render in content area #43

@flintfromthebasement

Description

@flintfromthebasement

Bug

In inc/class-pmpro-manage-multisite.php, the settings_page() method has two HTML structure issues that cause wp_footer output to render visibly in the page content area.

Root causes:

  1. The <form> tag (line 84) is never closed — </form> is missing entirely.
  2. Line 150 has </div> <!-- end pmpro_admin wrap --> which prematurely closes the <div class="wrap"> opened by admin_header.php. That wrapper is supposed to stay open until admin_footer.php closes it.

Fix:

  • Replace </div> <!-- end pmpro_admin wrap --> with </form> at line 150.

Reported by Kim White.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions