[wp-trac] [WordPress Trac] #35597: Redefining already defined constructor for class WP_User_Search

WordPress Trac noreply at wordpress.org
Mon Jan 25 18:36:54 UTC 2016


#35597: Redefining already defined constructor for class WP_User_Search
--------------------------+------------------------------
 Reporter:  arena         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by arena):

 Hi @dd32

 PHP : 5.2.5

 my own plugins are using the '__construct()' function

 WP_User_Search is using both '__construct()' line 482 AND
 'WP_User_Search()' line 505

 for information class wpdb is just using the  '__construct()' function

 Hope this helps

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


More information about the wp-trac mailing list