[wp-trac] Re: [WordPress Trac] #9452: Plugin Editor lists all files in plugin - should limit to text only

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 17:58:52 GMT 2009


#9452: Plugin Editor lists all files in plugin - should limit to text only
------------------------------------------+---------------------------------
 Reporter:  jbsil                         |        Owner:  jbsil   
     Type:  defect (bug)                  |       Status:  reopened
 Priority:  normal                        |    Milestone:  2.8     
Component:  Administration                |      Version:  2.8     
 Severity:  normal                        |   Resolution:          
 Keywords:  has-patch developer-feedback  |  
------------------------------------------+---------------------------------
Changes (by hakre):

  * keywords:  has-patch => has-patch developer-feedback


Comment:

 The last attachment should fix the output problems (you're right
 bingorabbit, that did not work out). I have chosen a wp_die() to display
 the two new messages. This does not need any css modifications.

 If you want an error message box, then I suggest to place it on top by
 adding a callback instead:

 {{{
 add_action('admin_notices', create_function('', sprintf('print \'<div
 class="%s"><p>%s</p></div>\';', 'error', $error)));
 }}}

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


More information about the wp-trac mailing list