[wp-trac] [WordPress Trac] #19249: Fixing Walker Notice regarding parameter in class hierarchy.

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 15 14:59:13 UTC 2011


#19249: Fixing Walker Notice regarding parameter in class hierarchy.
---------------------------+-------------------------------------
 Reporter:  Blackskyliner  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  3.3
 Severity:  normal         |   Keywords:  has-patch needs-testing
---------------------------+-------------------------------------
 First: Its just a "cosmetic" and PHP5 coding standard patch (or at least
 you could say, we want to use the PHP5 language the right way).

 As I started to write a plugin to Integrate SF2 into Wordpress I got a
 Notice Error Exception from my SF2 Kernel which stated, that some classes,
 like the PluginList in the Administration Menu try to overload some
 function prototypes with a wrong parameter count...

 So I just fixed this and now everything works fine, would be great to have
 this in the Release version, as its against the principles of function
 prototyping in PHP to overload smth. with the wrong Parameter count.

 I just tested the Patch a little bit and found no other errors, but I
 don't know if I just had luck - or maybe break other plugins with this.

 This error is in all versions of WP I tested till now, also I did not
 found any other patches regarding this problem, hopefully I did not failed
 to see them ;)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19249>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list