[wp-trac] [WordPress Trac] #19388: plugin_basename returns full directory in URL

WordPress Trac noreply at wordpress.org
Tue Oct 6 06:04:35 UTC 2015


#19388: plugin_basename returns full directory in URL
----------------------------------------+------------------------------
 Reporter:  damianzaremba               |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Plugins                     |     Version:  3.3
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by jeremyfelt):

 Replying to [comment:4 DrewAPicture]:
 > @jeremyfelt: I wonder if you've ever run into this in terms of the
 multisite perspective? See also the question in comment:3.

 I know I've accidentally added a `/` to the constant before and had to
 correct it. :) But nothing more than that from what I recall.

 Very much agree with the needs-unit-tests tag here. Probably worth a check
 on how much plugins use the constant directly. My initial gut in general
 says to leave things as is.

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


More information about the wp-trac mailing list