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

WordPress Trac noreply at wordpress.org
Sun Oct 18 07:52:04 UTC 2020


#50635: Deprecate wp_slash_strings_only() in favour of wp_slash()
-------------------------+-----------------------------
 Reporter:  ocean90      |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.6
Component:  Formatting   |     Version:  5.5
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  rest-api
-------------------------+-----------------------------

Comment (by garrett-eclipse):

 Replying to [comment:8 SergeyBiryukov]:
 > That said, the plugin could probably be updated to call `wp_slash()` on
 WP 5.5+, and `wp_slash_strings_only()` on older versions.

 Thanks @SergeyBiryukov I've opened a ticket on the plugin repo here;
 https://github.com/WordPress/wordpress-importer/issues/83

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


More information about the wp-trac mailing list