In our installation of latest dev panels we call panels_page_get_current() in template.php.
However, on ALL non-panels pages, a panel is returned. The panel that is returned corresponds to user/%.

Tracking down the issue, it appears to start in the heart of the menu system, processing all of the links on the page eventually comes to process the My Account link. This triggers panels_page_title_handler() and I guess triggers the full panel load, and hence the current panel is set.

I can work around the issue easily enough. Hope the explanation is useful, or I can help further.

Comments

sun’s picture

Category: support » bug

If that is true and still valid, it's a bug.

merlinofchaos’s picture

Status: Active » Closed (won't fix)

Panels 2 is no longer available and is unsupported. Marking all Panels 2 issues won't fix.