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

WordPress Trac noreply at wordpress.org
Fri Aug 8 16:21:34 UTC 2014


#29154: plugin_basename() doesn't normalize the file path before unresolving
symlinks
--------------------------+-----------------------------
 Reporter:  jdgrimes      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Plugins       |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In `plugin_basename()`, the `$file` is only passed through
 `wp_normalize_path()` after the attempt to unresolve symlinks. It should
 be normalized before this instead.


 Introduced in: [27158]
 Related: #16953, #28441

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


More information about the wp-trac mailing list