[wp-trac] [WordPress Trac] #25526: Deprecate format_to_post
WordPress Trac
noreply at wordpress.org
Mon Oct 7 15:56:27 UTC 2013
#25526: Deprecate format_to_post
---------------------------+------------------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch dev-feedback
---------------------------+------------------------------------
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.
[https://core.trac.wordpress.org/browser/trunk/wp-
admin/post.php?rev=846#L46 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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25526>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list