[buddypress-trac] [BuddyPress Trac] #9224: Introduce a filterable function to inform about whether BP is running from `src`

buddypress-trac noreply at wordpress.org
Sat Aug 31 01:26:43 UTC 2024


#9224: Introduce a filterable function to inform about whether BP is running from
`src`
-------------------------+---------------------
 Reporter:  imath        |       Owner:  imath
     Type:  enhancement  |      Status:  closed
 Priority:  low          |   Milestone:  15.0.0
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"14013" 14013]:
 {{{
 #!CommitTicketReference repository="" revision="14013"
 Introduce a function to inform about whether BP was loaded from `src`

 `bp_is_running_from_src_subdirectory()` informs whether BuddyPress was
 loaded from the src subdirectory (trunk version). This function exposes
 the `'bp_is_running_from_src_subdirectory'` to let developers tests code
 that is only available when BuddyPress is built.

 Props emaralive, espellcaste.

 See #9210
 Fixes #9224
 Closes https://github.com/buddypress/buddypress/pull/358
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9224#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list