[wp-trac] Re: [WordPress Trac] #9576: Plugin Installer; Limit desciption length in search results

WordPress Trac wp-trac at lists.automattic.com
Tue May 5 08:39:58 GMT 2009


#9576: Plugin Installer; Limit desciption length in search results
------------------------------+---------------------------------------------
 Reporter:  DD32              |        Type:  defect (bug)   
   Status:  new               |    Priority:  normal         
Milestone:  2.8               |   Component:  Upgrade/Install
  Version:  2.8               |    Severity:  minor          
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------

Comment(by DD32):

 > Should we use wp_html_excerpt() here?

 I was thinking Not, since that strips tags. however... If we limit the
 descriptions length.. it doesnt really need HTML tags anyway (And thats
 extra complexity than just a substr())

 Mind you, I dont see a real need to allow html in there now since it can
 be shortened. - A short Text blurb should be enough..

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


More information about the wp-trac mailing list