diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-admin/includes/image-edit.php --- a/wp/wp-admin/includes/image-edit.php Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-admin/includes/image-edit.php Tue Jun 09 03:35:32 2015 +0200 @@ -6,6 +6,13 @@ * @subpackage Administration */ +/** + * Loads the WP image-editing interface. + * + * @param int $post_id Post ID. + * @param bool|object $msg Optional. Message to display for image editor updates or errors. + * Default false. + */ function wp_image_editor($post_id, $msg = false) { $nonce = wp_create_nonce("image_editor-$post_id"); $meta = wp_get_attachment_metadata($post_id); @@ -34,70 +41,31 @@ ?>
- | - -
+
+
-
-
|