[wp-trac] [WordPress Trac] #15215: wp_count_comments throws Error Notice for unknown comment_approved types

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 18 18:50:00 UTC 2011


#15215: wp_count_comments throws Error Notice for unknown comment_approved types
---------------------------------+-----------------------------
 Reporter:  batmoo               |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Comments             |     Version:  3.0.1
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+-----------------------------

Comment (by tfnab):

 +1
 Please re-consider fixing this ASAP, i.e. before 3.2, but maybe with
 another minor version number release, as this has me changing core to
 avoid the notices thrown, and it makes the update process much more
 annoying (but I want to stay updated in case of any security issues)!

 Thank you.

 I've added another patch that removes the unneccessary $known_types
 variable

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


More information about the wp-trac mailing list