mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
* Introduce _prepare_media_item(). * Use it to prepare post_thumbnail info in _prepare_post(). * Also use _prepare_media_item() in wp_getMediaLibrary() and wp_getMediaItem() so that all media is prepared consistently and uses the same filters. Props maxcutler Fixes #20409 git-svn-id: https://develop.svn.wordpress.org/trunk@20608 602fd350-edb4-49c9-b593-d223f7449a82
144 KiB
144 KiB