[wp-trac] Re: [WordPress Trac] #9059: Why is WP using empty()?

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 16 18:22:28 GMT 2009


#9059: Why is WP using empty()?
--------------------------+-------------------------------------------------
 Reporter:  noonoo        |       Owner:  anonymous  
     Type:  defect (bug)  |      Status:  new        
 Priority:  low           |   Milestone:  2.8        
Component:  Optimization  |     Version:  2.7        
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by mrmist):

  * keywords:  needs-patch dev-feedback => needs-patch


Comment:

 Yep, the !empty avoids the PHP Notice: Undefined variable: foo

 Back to the original patch - the change doesn't work for me. But then on
 IIS the

 index.php/category/0/

 Displays just like the front page, its almost as if the cat is not
 redirected at all, so the fact that the category name isn't displayed is
 the least of the issue.

 Removing dev-feedback since Ryan replied.

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


More information about the wp-trac mailing list