Skip to content
Snippets Groups Projects
Closed Ensure front-end hooks are only registered on main query
  • View options
  • Ensure front-end hooks are only registered on main query

  • View options
  • Closed Issue created by haystack

    nc3man reported on Mattermost and StackExchange that the Benevolent Pro theme makes a sub-query prior to the main query. This unsets get_query_var( 'page' ) and thus the CiviCRM basepage fails to render CiviCRM content.

    The solution is to ensure that front-end hooks are only registered on main query. PR to follow.

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading