| | 2765 | |
| | 2766 | /** |
| | 2767 | * Checks if any of the comment author cache cookies are present. |
| | 2768 | * |
| | 2769 | * This function checks if any of the 'comment_author_', 'comment_author_email_' or 'comment_author_url_' cookies are present. |
| | 2770 | * |
| | 2771 | * @since 4.4.0 |
| | 2772 | * @return bool True if any of the cookies are present. |
| | 2773 | */ |
| | 2774 | function are_comment_cookies_set() { |
| | 2775 | return isset( $_COOKIE['comment_author_' . COOKIEHASH] ) || isset( $_COOKIE['comment_author_email_' . COOKIEHASH] ) || isset( $_COOKIE['comment_author_url_' . COOKIEHASH] ); |
| | 2776 | |
| | 2777 | } |
| | 2778 | No newline at end of file |