[wp-trac] [WordPress Trac] #22287: Plugin in another plugin folder causes Activate link to be wrong on Download

WordPress Trac noreply at wordpress.org
Sat Jul 19 13:49:58 UTC 2014


#22287: Plugin in another plugin folder causes Activate link to be wrong on
Download
-----------------------------+------------------------------
 Reporter:  joehoyle         |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by jdgrimes):

 Interestingly, in `Plugin_Upgrader::check_package()`, the directory is
 just `glob`ed for `.php` files:
 https://core.trac.wordpress.org/browser/tags/3.9.1/src/wp-admin/includes
 /class-wp-upgrader.php#L686

 So it seems there is an inconsistency with whether `get_plugins()` is even
 used.

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


More information about the wp-trac mailing list