forked from maxymax/WordPress
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce wp_prepare_attachment_for_js(). Prepares an attachment post…
… object to be JSON-encoded and fitted into an Attachment model, for 3.5 media. props koopersmith. see #21390. git-svn-id: http://core.svn.wordpress.org/trunk@21680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters