Skip to content

refactor: DRY maint page layout wrapper #45

Description

@somethingwithproof

Problem

maint.php repeats the same page layout wrapper sequence (top_header(), renderer, bottom_footer()) in action routing.

Proposed change

  • add a shared layout wrapper helper for maintenance pages
  • route edit and default actions through the helper
  • preserve behavior while reducing duplicated wrapper logic

Tests

  • add standalone regression test for wrapper call ordering and callback execution
  • include routing assertions that actions use the helper
  • run syntax checks for touched files

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions