[wp-trac] [WordPress Trac] #21767: Remove stripslashes from API functions

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 14 07:24:22 UTC 2012


#21767: Remove stripslashes from API functions
-------------------------------------------------+-------------------------
 Reporter:  alexkingorg                          |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  General                              |  Review
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by alexkingorg):

 There are a number of places in core that are "doing it wrong" based on
 the current slash assumptions. I'd really like to fix this in 3.5 if we
 can.

 I think unit tests that exercise the model and controller functions (with
 and without slashed content) are the right next step - will work on
 creating an outline so others can assist easily.

 Related: got PHPUnit installed and and the WP tests working on my new kit
 earlier this week. :)

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


More information about the wp-trac mailing list