X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..7f1521bf193b382565eb753043c161f4cb3fcda7:/wp-admin/includes/image-edit.php diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php index 40cea96e..5a82b415 100644 --- a/wp-admin/includes/image-edit.php +++ b/wp-admin/includes/image-edit.php @@ -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 @@ function wp_image_editor($post_id, $msg = false) { ?>
-
-
-
-
-
-
- )" disabled="disabled" class="button-primary imgedit-submit-btn" value="" />
-
- |
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
|