[wp-trac] [WordPress Trac] #10008: var pagenow in js not supporting plugins !

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 2 11:23:53 GMT 2009


#10008: var pagenow in js not supporting plugins !
----------------------------+-----------------------------------------------
 Reporter:  arena           |       Owner:                         
     Type:  defect (bug)    |      Status:  new                    
 Priority:  high            |   Milestone:  2.8                    
Component:  Administration  |     Version:  2.8                    
 Severity:  normal          |    Keywords:  has-patch needs-testing
----------------------------+-----------------------------------------------
 javascript generated in the admin header do not support plugins

 so modifiying this line


 {{{
 var pagenow = '<?php echo substr($pagenow, 0, -4); ?>';
 }}}


 into this

 {{{
 var pagenow = '<?php echo (isset($plugin_page)) ? $plugin_page :
 substr($pagenow, 0, -4); ?>';
 }}}

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


More information about the wp-trac mailing list