[wp-trac] [WordPress Trac] #21767: Remove stripslashes from API functions
WordPress Trac
noreply at wordpress.org
Sat Feb 16 19:44:48 UTC 2013
#21767: Remove stripslashes from API functions
-------------------------------------------------+-------------------------
Reporter: alexkingorg | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.6
Component: Formatting | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit- |
tests 3.6-early |
-------------------------------------------------+-------------------------
Comment (by alexkingorg):
Replying to [comment:76 scribu]:
> I'm getting extra slashes too now
This situation is why I have advocated for new `wp_update_postmeta()` and
`wp_insert_postmeta()` API methods (and included them in my original
patch). The `update/insert_postmeta()` calls have too much existing
documentation that show passing the $_POST data directly in as a value.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21767#comment:78>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list