Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#4272 closed defect (bug) (duplicate)

Redefining BP_PLUGIN_DIR will break update plugin notification

Reported by: slaffik's profile slaFFik Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

According to changeset #6113 (using BP_PLUGIN_DIR):
we're able to make it easier to change the buddypress plugin directory name

If we change BP_PLUGIN_DIR const - update plugin notification will break (bp-core-functions.php:335):

add_action( 'in_plugin_update_message-buddypress/bp-loader.php', 'bp_core_update_message' );

Change History (1)

#1 @boonebgorges
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Yes, that's true. See https://buddypress.trac.wordpress.org/ticket/2945#comment:13

I'd be happy to receive a patch that implements the solution suggested there (a wrapper function hooked to bp_init that builds the hook name dynamically from $bp->file) :)

Note: See TracTickets for help on using tickets.