[buddypress-trac] [BuddyPress Trac] #6262: No 'type' property in BP_Core_Members_Template
    buddypress-trac 
    noreply at wordpress.org
       
    Fri Feb 27 21:46:19 UTC 2015
    
    
  
#6262: No 'type' property in BP_Core_Members_Template
-------------------------------------+------------------------------
 Reporter:  henry.wright             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Component - Members      |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |
-------------------------------------+------------------------------
Comment (by henry.wright):
 Yep, it's passed to the constructor and then in the constructor it's
 assigned to a property. For example: {{{$this->type = $type}}}. But
 shouldn't that property be declared in the class definition? Something
 like:
 {{{
 class BP_Core_Members_Template {
     public $type;
     // etc...
 }
 It doesn't seem to be in this case. Not sure if that would cause issues?
 }}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6262#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list