[wp-trac] [WordPress Trac] #50635: Deprecate wp_slash_strings_only() in favour of wp_slash()

WordPress Trac noreply at wordpress.org
Thu Sep 10 11:08:55 UTC 2020


#50635: Deprecate wp_slash_strings_only() in favour of wp_slash()
-------------------------+-----------------------
 Reporter:  ocean90      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.6
Component:  Formatting   |     Version:  5.5
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  rest-api
-------------------------+-----------------------
Changes (by ayeshrajans):

 * Attachment "50635.patch" added.

 Deprecates `wp_slash_strings_only()` and `addslashes_strings_only()`
 functions, and then replaces the single use of those functions with
 `wp_slash`; Tests: https://travis-ci.com/github/Ayesh/wordpress-
 develop/builds

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50635>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list