[wp-trac] Re: [WordPress Trac] #6442: Widgets in sidebar not showing under design/widgets in dashboard of wc2 2.5

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 19 10:50:11 GMT 2009


#6442: Widgets in sidebar not showing under design/widgets in dashboard of wc2 2.5
------------------------------+---------------------------------------------
 Reporter:  Ainsaree          |        Owner:  anonymous
     Type:  defect (bug)      |       Status:  reopened 
 Priority:  normal            |    Milestone:           
Component:  General           |      Version:  2.7      
 Severity:  normal            |   Resolution:           
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  => has-patch tested

Comment:

 Attached patch is against my local SVN, but it should work fine. It:

  - Fixes the issue by moving the call to ob_start() to after the check
  - Sets the cache when no posts are present
  - Optimizes the query that checks if posts are present

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


More information about the wp-trac mailing list