Opened 11 years ago
Closed 11 years ago
#25526 closed defect (bug) (fixed)
Deprecate format_to_post
Reported by: | simonwheatley | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 1.2 |
Component: | Formatting | Keywords: | has-patch dev-feedback |
Focuses: | Cc: |
Description
While documenting the hooks in formatting.php
(#25518) I noticed format_to_post
which is unused except for 25 or so plugins in the repo. The description is generic, and useless.
WAY back in the day it seems it was used to add slashes before stuff got put into the database.
After asking around, I think we should deprecate it.
Attachments (1)
Change History (8)
#6
@
11 years ago
- Keywords 3.9-early removed
- Milestone changed from Future Release to 3.9
I think it's safe to just kill the hook while we're at it. (Or not bother documenting it?)
I found the function definition from a ways back. Here's it being changed at one point: [1021]. Scary stuff, right there.
Note: See
TracTickets for help on using
tickets.
(I checked, and
format_to_post
is not used in core.)