Home › Forums › BulletProof Security Free › BuddyPress strstr() Empty delimiter in /buddypress/bp-core/bp-core-template.php on line 864
Testing BuddyPress upgrade to 1.7.2 and code Mods for BuddyPresss errors with Empty Delimiter in BP Core Template line 864
original code:
if ( !empty( $page_template ) && strstr( strtolower( $page_template ), strtolower( $component ) ) ) {
Mod fix:
if ( !empty( $page_template ) && !empty( $component ) && strstr( strtolower( $page_template ), strtolower( $component ) ) ) {
Hover or click the text box below
Login