[wp-trac] [WordPress Trac] #12168: PHP4 - Notice: Array to string conversion in /Applications/MAMP/htdocs/wordpress-trunk/wp-includes/formatting.php on line 427

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 7 21:48:49 UTC 2010


#12168: PHP4 - Notice: Array to string conversion in /Applications/MAMP/htdocs
/wordpress-trunk/wp-includes/formatting.php on line 427
--------------------------+-------------------------------------------------
 Reporter:  westi         |       Owner:  westi
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  Formatting    |     Version:  3.0  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 Basically when sanitizing the post fields we pass the ancestors of a post
 which is always and array of ints to a function which expects a string and
 hence we turn it into garbage.

 It goes from being and Array of ints to being a string containing just
 Array().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12168>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list