|wp-admin/includes/image.php: wp_update_image_subsizes()|| |
If any of the currently registered image sub-sizes are missing, create them and update the image meta data.
|wp-includes/capabilities.php: current_user_can()|| |
Returns whether the current user has the specified capability.
|wp-includes/l10n.php: __()|| |
Retrieve the translation of $text.
|wp-includes/pluggable.php: check_ajax_referer()|| |
Verifies the Ajax request to prevent processing requests external of the blog.
|wp-includes/functions.php: wp_send_json_error()|| |
Send a JSON response back to an Ajax request, indicating failure.
|wp-includes/functions.php: wp_send_json_success()|| |
Send a JSON response back to an Ajax request, indicating success.
|wp-includes/media.php: wp_prepare_attachment_for_js()|| |
Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model.
|wp-includes/post.php: wp_attachment_is_image()|| |
Determines whether an attachment is an image.
|wp-includes/post.php: wp_delete_attachment()|| |
Trash or delete an attachment.
|wp-includes/post.php: get_post()|| |
Retrieves post data given a post ID or post object.