Archive | Functions RSS feed for this section

check_upload_mimes

Check an array of MIME types against a whitelist.WordPress ships with a set of allowed upload filetypes, which is defined in wp-includes/functions.php in get_allowed_mime_types(). This function is used to filter that list against the filetype whitelist provided by Multisite Super Admins at wp-admin/network/settings.php.

609

Continue reading →

check_comment

Checks whether a comment passes internal checks to be allowed to add.If comment moderation is set in the administration, then all comments, regardless of their type and whitelist will be set to false. If the number of links exceeds the amount in the administration, then the check fails. If any of the parameter contents match the blacklist of words, then the check fails.

601

Continue reading →