Skip to content

Nested Pages breaks "page search" in admin panel #374

@john-daxko

Description

@john-daxko

We've used nested pages Version 3.2.13 on multiple sites without issue,
but on our most recent site, trying to search for a page on the "pages" page,
always sends the user to the dashboard, rather than showing results.

Disabling the plugin fixes the issue.

I'm looking at two domains right now, both are running:
WordPress 6.8.
PHP 8.2.28
Nested Pages: 3.2.13
Theme: 'our in-house theme'

One works, one doesn't.

The only difference I can seem to find is that, on the site that is having the issue,
we are using a custom permalink structure of:
/%category%/%postname%/
(which shouldn't cause issues, as it is using predefined tags)

[edit:]
I just discovered that going directly to the url with the param in nav bar:
https:///wp-admin/admin.php?page=nestedpages&search=contact
works as expected.
So it would seem that the issue is the plugin somehow rewriting the path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions