[wp-trac] [WordPress Trac] #16953: Allow symlinked plugins

WordPress Trac noreply at wordpress.org
Fri Jun 7 23:39:47 UTC 2013


#16953: Allow symlinked plugins
------------------------------------+-----------------------------
 Reporter:  scribu                  |       Owner:
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  Future Release
Component:  Plugins                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------------

Comment (by MikeSchinkel):

 Replying to [comment:66 MikeSchinkel]:
 > Replying to [comment:65 nacin]:
 > > My question: What's more useful? pre_plugin_basename, or one just
 before the return? I'd think the final filter would be more useful, since
 it smooths out the processing?
 >
 > '''Yes''', given that you are passing in both a post-processed value and
 a pre-processed value a `'plugin_basename'` would definitely be more
 generally useful and also still meet the need stated on [#comment:52
 comment 52] of this thread.

 **UPDATE**: '''''Except''''', the hook would have to duplicate the logic
 in lines 567-574 in
 [http://core.trac.wordpress.org/attachment/ticket/16953/16953.2.diff
 16953.2.diff​] when changing the path, so when the goal is to meet the
 need stated on [#comment:52 comment 52] a `'pre_plugin_basename'` would be
 a better choice because it would limit the potential for error on the part
 of the plugin author.

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


More information about the wp-trac mailing list