[wp-trac] [WordPress Trac] #11007: plugin_basename() should allow to strip file extension

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 22 20:11:23 UTC 2009


#11007: plugin_basename() should allow to strip file extension
-------------------------+--------------------------------------------------
 Reporter:  sirzooro     |       Owner:  westi    
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.9      
Component:  Plugins      |     Version:  2.8.4    
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 Some WP hooks includes plugin basename as a part of their name, but there
 is an inconsistency - some of them uses it with extension (usually .php),
 some without it. Therefore it will be good to extend plugin_basename() to
 return name with or without extension. Attached path does this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11007>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list