From b20ed14939324a143f1bfd8975311456b616f0b6 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 15 Jun 2017 11:59:19 +0000 Subject: [PATCH] Database: Add documentation for the allowed `utf8mb4_520` value when detecting features with `wpdb::has_cap()`. Props rcutmore Fixes #41044 git-svn-id: https://develop.svn.wordpress.org/trunk@40906 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/wp-db.php b/src/wp-includes/wp-db.php index 74dedd5130..2c9cceabf7 100644 --- a/src/wp-includes/wp-db.php +++ b/src/wp-includes/wp-db.php @@ -3268,7 +3268,7 @@ class wpdb { * * @param string $db_cap The feature to check for. Accepts 'collation', * 'group_concat', 'subqueries', 'set_charset', - * or 'utf8mb4'. + * 'utf8mb4', or 'utf8mb4_520'. * @return int|false Whether the database feature is supported, false otherwise. */ public function has_cap( $db_cap ) {