Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#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)

#1 @henry.wright
3 years ago

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 :))

#2 @DJPaul
3 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

:( :(

This ticket was mentioned in Slack in #buddypress by djpaul. View the logs.


3 years ago

#4 @johnjamesjacoby
3 years ago

In 11232:

Loader: Make sure deprecated code is loaded unless explicitly ignored.

See: #7307, #7323, #7322. For 2.7 branch.

#5 @johnjamesjacoby
3 years ago

In 11233:

Loader: Make sure deprecated code is ignored unless explicitly defined to be included.

Also deprecate the BP_IGNORE_DEPRECATED constant, since this is now an option. (We'll still obey it if it's set later.)

See: #7307, #7323, #7322. For trunk.

#6 @johnjamesjacoby
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed for 2.7.2.

#7 @johnjamesjacoby
3 years ago

  • Milestone set to 2.7.2
  • Version changed from 2.7 to 2.7.1
Note: See TracTickets for help on using tickets.