[wp-trac] [WordPress Trac] #28441: Errant activation hook with symlinked plugins in WordPress 3.9.x

WordPress Trac noreply at wordpress.org
Wed Jul 6 09:45:00 UTC 2016


#28441: Errant activation hook with symlinked plugins in WordPress 3.9.x
--------------------------------------+---------------------
 Reporter:  clifgriffin               |       Owner:  rmccue
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Plugins                   |     Version:  3.9
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by ocean90):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37983"]:
 {{{
 #!CommitTicketReference repository="" revision="37983"
 Plugins: In `plugin_basename()` sort plugin paths before resolving
 symlinks.

 `arsort()` sorts the paths reverse-alphabetically while preserving the
 keys. It results in a longer path being listed before a shorter one with
 the same base directory(ies).

 Props jdgrimes, ocean90.
 Fixes #28441.
 }}}

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


More information about the wp-trac mailing list