[wp-trac] Re: [WordPress Trac] #10225: Various php notices in default-widgets.php

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 21 03:41:48 GMT 2009


#10225: Various php notices in default-widgets.php
------------------------------+---------------------------------------------
 Reporter:  mrmist            |       Owner:                          
     Type:  defect (bug)      |      Status:  new                     
 Priority:  normal            |   Milestone:  2.9                     
Component:  Warnings/Notices  |     Version:  2.9                     
 Severity:  minor             |    Keywords:  widgets has-patch notice
------------------------------+---------------------------------------------
Changes (by dd32):

  * component:  General => Warnings/Notices


Comment:

 > {{{<?php checked(isset($instance['filter'])) ? $instance['filter'] : 0 ;
 ?>}}}

 That logic is wrong, Well, I mean the bracketing is.
 Should be:

 {{{
 <?php checked(isset($instance['filter']) ? $instance['filter'] : 0); ?>
 }}}

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


More information about the wp-trac mailing list