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

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 17 21:45:38 UTC 2011


#11007: plugin_basename() should allow to strip file extension
-------------------------+-----------------------------
 Reporter:  sirzooro     |       Owner:  westi
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Plugins      |     Version:  2.8.4
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by sirzooro):

 Good to know - I was not aware that `add_options_page()` returns
 appropriate page hook.

 As I checked now, this is documented in description of
 `add_options_page()` in code and on Codex. However this is not mentioned
 on [http://codex.wordpress.org/Adding_Administration_Menus Administration
 Menus] Codex page - as I recall, I used that page to learn how to write
 plugins. It will be good to add some note about this to that page.

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


More information about the wp-trac mailing list