#7322 closed defect (bug) (fixed)
2.7.1: Call to undefined function bp_is_profile_edit()
Reported by: | henry.wright | Owned by: | |
---|---|---|---|
Milestone: | 2.7.2 | Priority: | normal |
Severity: | normal | Version: | 2.7.1 |
Component: | Core | Keywords: | |
Cc: |
Description
After upgrading to 2.7.1 about 5 minutes ago, I seem to now be getting
Fatal error: Call to undefined function bp_is_profile_edit() in /wp-content/themes/twenty-fifteen/functions.php on line 28
Is bp_is_profile_edit()
still a function?
Change History (7)
#2
@
8 years ago
Crap. I thought I fixed this in 2.7.1.
Caused in 2.7 by r11105 which was meant to be worked-around for 2.7.1 in r11214, however I neglected to flip the bool back on https://buddypress.trac.wordpress.org/browser/branches/2.7/src/bp-loader.php?annotate=blame#L311
:( :(
Just seen the note to use
bp_is_user_profile_edit()
instead.I didn't get the PHP notice. I did have debug set to true (I promise :))