[wp-trac] [WordPress Unit Tests] #131: Unit Tests for Core #21767 (Remove stripslashes from API functions)

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 06:32:12 UTC 2012


#131: Unit Tests for Core #21767 (Remove stripslashes from API functions)
-------------------------+-------------------------
 Reporter:  alexkingorg  |       Type:  enhancement
   Status:  new          |   Priority:  normal
Milestone:               |  Component:  Escaping
 Keywords:               |
-------------------------+-------------------------
 Wanted to start contributing the tests needed for this core ticket:

 http://core.trac.wordpress.org/ticket/21767

 Coverage is not yet sufficient, but this initial patch does cover posts,
 post meta and comments.

 There is also a change to remove the manual adding of slashes in the
 methods to create comments. This was the only object that was getting
 "properly" slashed before the WP model API functions were called (in other
 words, all other objects were doing it wrong) and the core patch obviates
 the need for this.

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/131>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-trac mailing list