|wp-admin/includes/post.php: _wp_get_allowed_postdata()|| |
Returns only allowed post data fields
|wp-includes/functions.php: wp_json_encode()|| |
Encode a variable into JSON, with some sanity checks.
|wp-admin/includes/media.php: media_handle_upload()|| |
Save a file submitted from a POST request and create an attachment post for it.
|wp-admin/includes/post.php: _wp_translate_postdata()|| |
Rename $_POST data from form names to DB post columns.
|wp-includes/capabilities.php: current_user_can()|| |
Whether the current user has a specific 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_die()|| |
Kills WordPress execution and displays HTML page with an error message.
|wp-includes/functions.php: wp_check_filetype_and_ext()|| |
Attempt to determine the real file type of a file.
|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_match_mime_types()|| |
Check a MIME-Type against a list.
|wp-includes/post.php: update_post_meta()|| |
Updates a post meta field based on the given post ID.
|wp-includes/load.php: is_wp_error()|| |
Check whether variable is a WordPress Error.