[wp-trac] [WordPress Trac] #24205: is_plugin_active() returns false for must-use/dropin plugins

WordPress Trac noreply at wordpress.org
Sat Apr 27 19:31:23 UTC 2013


#24205: is_plugin_active() returns false for must-use/dropin plugins
--------------------------+----------------------
 Reporter:  jrf           |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Plugins       |     Version:  3.5.1
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |
--------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 must-use plugins and drop-ins don't have a concept of "activation".

 If you want to see if a plugin is active on a site, is_plugin_active() is
 a poor way to do it. The path can be anything. A plugin could be installed
 at test-plugin/test-plugin.php, test-plugin.php, or some-totally-
 different-name.php. You should look for a function, class, etc.

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


More information about the wp-trac mailing list