#7322 closed defect (bug) (fixed)
2.7.1: Call to undefined function bp_is_profile_edit()
| Reported by: | henry.wright | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.2 |
| Component: | Core | Version: | 2.7.1 |
| Severity: | normal | 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
@
10 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
:( :(
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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 :))