[wp-trac] Re: [WordPress Trac] #9727: missing escape in wp_update_post?

WordPress Trac wp-trac at lists.automattic.com
Tue May 5 13:39:11 GMT 2009


#9727: missing escape in wp_update_post?
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous               
     Type:  defect (bug)       |      Status:  new                     
 Priority:  normal             |   Milestone:  2.8                     
Component:  General            |     Version:  2.8                     
 Severity:  normal             |    Keywords:  2nd-opinion dev-feedback
-------------------------------+--------------------------------------------

Comment(by hakre):

 documentation says:
 {{{
  * @param array|object $postarr Post data.
 }}}
 i am still waiting on a developers feedback what this means when nothing
 is stated: raw or slashed.

 ryan (?) once said lateöy all functions assume slashed if not otherwise
 noted. i doubted that but i can not find the ticket. a general statement
 would be really usefull.

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


More information about the wp-trac mailing list