[wp-trac] [WordPress Trac] #33933: Avoid PHP 4 warnings for PHP 5

WordPress Trac noreply at wordpress.org
Sun Sep 20 10:33:31 UTC 2015


#33933: Avoid PHP 4 warnings for PHP 5
--------------------------+----------------------
 Reporter:  nmeiser       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  lowest        |   Milestone:
Component:  Widgets       |     Version:  4.3
 Severity:  trivial       |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by nmeiser):

 Well, then tell me why I have to see the warning message with php 5.4.12,
 so that I can't navigate through the backend because menu jumps down to
 not scrollable area?

 The helper methode "function classname()" is only used for having a
 __constructor() methode for php 4.

 When plugins use $this->WP_Widget(....) it's totally ok and not php4
 style!
 If Wordpress will not allow PHP4 than remove the methode!!

 Priority should be to write proper software and remove old stuff that is
 not needed or will you keep it for the next 11 years?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33933#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list