[wp-trac] [WordPress Trac] #25160: Unnecessarily passing $this by reference in core

WordPress Trac noreply at wordpress.org
Wed Aug 28 14:45:27 UTC 2013


#25160: Unnecessarily passing $this by reference in core
-------------------------------------+------------------------------
 Reporter:  jdgrimes                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  trivial                  |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by jdgrimes):

 On another side note, I ran the tests suite in debug mode for the first
 time - I got ~80 errors. A few notices about undefined properties or
 variables, but by far mostly notices of using deprecated functions. If
 those are expected, shouldn't we be silencing them with `@` or something?
 I know its a separate topic - should I open a ticket for it, or is there
 one already? Or is this behavior intended?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25160#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list