[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
Fri Jun 2 02:05:15 UTC 2023
#8910: Prevent screen and action files to be loaded more than once into Components
class
--------------------------+---------------------
Reporter: imath | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 12.0.0
Component: Core | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by imath):
* owner: (none) => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"13495" 13495]:
{{{
#!CommitTicketReference repository="" revision="13495"
Prevent potential issues with `late_includes()` in Component classes
Use `require_once` instead of `require` to load action & screen files.
See #4954
Fixes #8910
Closes https://github.com/buddypress/buddypress/pull/112
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8910#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list