diff --git a/wp-includes/version.php b/wp-includes/version.php index eca6c2ab07..6aeb85e2b4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30767'; +$wp_version = '4.1-beta2-30768'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 58eff99446..6bd76cb0d1 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -2752,10 +2752,14 @@ class wpdb { * Determine if a database supports a particular feature. * * @since 2.7.0 + * @since 4.1.0 Support was added for the 'utf8mb4' feature. + * * @see wpdb::db_version() * - * @param string $db_cap The feature to check for. - * @return bool + * @param string $db_cap The feature to check for. Accepts 'collation', + * 'group_concat', 'subqueries', 'set_charset', + * or 'utf8mb4'. + * @return bool Whether the database feature is supported, false otherwise. */ public function has_cap( $db_cap ) { $version = $this->db_version();