retlehs/roots — pull request #289 by ChrisClayton (2012-02-20 05:55:00+00:00)
Title: Search redirect Buddypress

Still new to github, so i apologies if i do this pull request thing wrong, but to get roots compatible with buddypress (see #236) i wrapped the search redirect action with !defined('BP_VERSION') to ensure that it reverts to the ugly url structure if buddypress is active...

Just a quick fix until we figure out how to get it working properly with BP. atleast this way buddypress owners can still use the search feature (i've been looking through the bp code, but i cant seem to pinpoint a proper fix yet to get clean urls working)