Site security (safety) (tag)

balanceTags()

Fixes incorrectly-entered XHTML (HTML) tags.

current_user_can()

Whether the current user has a specific capability.

force_balance_tags()

Corrects malformed XHTML/HTML tags in text: unclosed, out-of-order, incorrect syntax (<br >а не <br />).

is_ssl()

Checks whether secure HTTPS (SSL) connection is used. A conditional tag.

wp_check_password()

Checks the plaintext password against the encrypted Password.

wp_create_nonce()

Creates a unique security key for a short period of time (from 12 to 24 hours).

wp_generate_password()

Generates a random password. You can specify the length and what characters to use.

wp_hash_password()

Encrypts the specified text to make a password hash from it.

wp_nonce_field()

Retrieve or display hidden nonce field for a form.

wp_nonce_url()

Adds a nonce token to the URL: ?_wpnonce=9d6bd884a1.

wp_set_password()

Updates the user's password with a new encrypted one. Updates the specified password in the database and resets the user's cache.

wp_verify_nonce()

Verify nonce token.