[wp-trac] [WordPress Trac] #15300: array instead of string in formatting.php

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 3 09:36:41 UTC 2010


#15300: array instead of string in formatting.php
--------------------------------------------------------+-------------------
 Reporter:  jeje68630                                   |        Owner:         
     Type:  defect (bug)                                |       Status:  closed 
 Priority:  normal                                      |    Milestone:         
Component:  Formatting                                  |      Version:  3.0.1  
 Severity:  normal                                      |   Resolution:  invalid
 Keywords:  formatting.php, strip_tags, sanitize_title  |  
--------------------------------------------------------+-------------------
Changes (by scribu):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Awaiting Review =>


Comment:

 This is definitely a bug in the theme.

 Instead of casting to a string, you should call debug_print_backtrace()
 inside sanitize_title() and fix the cause of the problem, not the effect.

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


More information about the wp-trac mailing list