[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 09:28:14 GMT 2009


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

  * status:  new => closed
  * resolution:  => duplicate


Comment:

 Closing as WONTFIX / DUPE of #8833

 If you override a pluggable function you must put the check for it already
 being defined in your code otherwise you will clash with other plugins.

 If you want to detect this clash and doing something about it you can do
 that too.

 As for improving the way pluggables work #8833 is the way to go on that as
 we already have for some of the functions.

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


More information about the wp-trac mailing list