Correct some types in wp-admin/*-location files' doc blocks.

See #30224.

Built from https://develop.svn.wordpress.org/trunk@30203


git-svn-id: http://core.svn.wordpress.org/trunk@30203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-11-03 07:09:23 +00:00
parent 7d7a8aa0eb
commit 5e3a64e83d
6 changed files with 26 additions and 10 deletions
+8
View File
@@ -6,6 +6,10 @@
* @subpackage Administration
*/
/**
* @param int $post_id
* @param bool|object $msg
*/
function wp_image_editor($post_id, $msg = false) {
$nonce = wp_create_nonce("image_editor-$post_id");
$meta = wp_get_attachment_metadata($post_id);
@@ -554,6 +558,10 @@ function stream_preview_image( $post_id ) {
return wp_stream_image( $img, $post->post_mime_type, $post_id );
}
/**
* @param int $post_id
* @return stdClass
*/
function wp_restore_image($post_id) {
$meta = wp_get_attachment_metadata($post_id);
$file = get_attached_file($post_id);