Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#50635 new enhancement

Deprecate wp_slash_strings_only() in favour of wp_slash()

Reported by: ocean90 Owned by:
Milestone: 5.6 Priority: normal
Severity: normal Version: trunk
Component: Formatting Keywords: needs-patch
Focuses: rest-api Cc:


Since [48433] wp_slash() no longer changes non-string types which was the main reason for the introduction of wp_slash_strings_only() in [46454]. To avoid confusion we should deprecate wp_slash_strings_only().

Change History (1)

#1 @SergeyBiryukov
4 weeks ago

  • Milestone changed from Awaiting Review to 5.6
Note: See TracTickets for help on using tickets.