[buddypress-trac] [BuddyPress Trac] #8910: Prevent screen and action files to be loaded more than once into Components class

buddypress-trac noreply at wordpress.org
Tue May 30 22:20:44 UTC 2023


#8910: Prevent screen and action files to be loaded more than once into Components
class
--------------------------+---------------------
 Reporter:  imath         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  12.0.0
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by prbot):

 * keywords:  needs-patch => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/112 PR #112] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 To avoid potential issues, use `require_once` instead of `require` in all
 Components class `late_includes()` methods.

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/8910

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


More information about the buddypress-trac mailing list