[buddypress-trac] [BuddyPress Trac] #6853: Autoload BP classes

buddypress-trac noreply at wordpress.org
Fri Mar 11 12:19:12 UTC 2016


#6853: Autoload BP classes
--------------------------+------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.6
Component:  API           |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by needle):

 Since [10652], I get a "PHP Fatal error" when checking for the existence
 of one of my plugin classes called "BP_Groups_CiviCRM_Sync" - i.e. the
 with the following code:

 {{{
 if ( ! class_exists('BP_Groups_CiviCRM_Sync') ) {
   // do something
 }
 }}}

 Does this change now mean that plugin authors cannot (or at minimum should
 not) name their classes "BP_Componentname_Etc"?

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


More information about the buddypress-trac mailing list