[wp-trac] Re: [WordPress Trac] #9915: Cannot activate plugin which override function from pluggable.php

WordPress Trac wp-trac at lists.automattic.com
Sat May 23 11:30:14 GMT 2009


#9915: Cannot activate plugin which override function from pluggable.php
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |        Owner:           
     Type:  defect (bug)  |       Status:  closed   
 Priority:  normal        |    Milestone:           
Component:  General       |      Version:  2.7.1    
 Severity:  normal        |   Resolution:  duplicate
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by sirzooro):

 OK, so I will add function_exists() checks to my plugin - it will be
 sufficient solution, at least for now.

 I also had the problem with duplicate classes in the past, but cannot
 reproduce it now. When I find it again, will try to investigate it.

 One more question: what about executing `define('ACTIVATING_PLUGIN', 1);`
 just before activating plugin? Plugin could check this before overriding
 functions.

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


More information about the wp-trac mailing list