[wp-trac] [WordPress Trac] #29154: plugin_basename() doesn't normalize the file path before unresolving symlinks

WordPress Trac noreply at wordpress.org
Sat Apr 30 15:08:08 UTC 2016


#29154: plugin_basename() doesn't normalize the file path before unresolving
symlinks
--------------------------------------+----------------------
 Reporter:  jdgrimes                  |       Owner:  ocean90
     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):

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37332"]:
 {{{
 #!CommitTicketReference repository="" revision="37332"
 Plugins: In `plugin_basename()` normalize the file path before unresolving
 symlinks.

 `$wp_plugin_paths` contains normalized paths, see
 `wp_register_plugin_realpath()`.

 Props jdgrimes, voldemortensen, flyingdr, ocean90.
 Fixes #29154.
 }}}

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


More information about the wp-trac mailing list