[wp-trac] Re: [WordPress Trac] #5660: Redesign of Plugins page

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 14 05:03:35 GMT 2008


#5660: Redesign of Plugins page
------------------------------------------------+---------------------------
 Reporter:  DD32                                |        Owner:  DD32
     Type:  defect                              |       Status:  new 
 Priority:  lowest                              |    Milestone:  2.5 
Component:  Administration                      |      Version:  2.5 
 Severity:  normal                              |   Resolution:      
 Keywords:  dev-feedback 2nd-opinion has-patch  |  
------------------------------------------------+---------------------------
Comment (by DD32):

 Replying to [comment:3 darkdragon]:
 > How did you get the configure link to show up? I'm not finding the code
 in the patch. It would be neat if the last column was {{{nowrap}}}.

 The column not wrapping would indeed be good.

 As for the configure link, I simply used this code in a plugin file: (Mind
 you, A plugin would call a function to register such a link i would
 assume, and there'd be a check in the row loop to se if theres a configure
 link, or an uninstall link available for it)
 {{{
 add_filter('plugin_row_actions','pluginaction_filter');
 function pluginaction_filter($actions){
         if( rand(1,3) == 1 ) //Only show it 1/3 of the time
                 $actions[] = "<a href='#'>Configure</a>";
         return $actions;
 }
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5660#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list