WordPress.org

Make WordPress Core

Changeset 40906


Ignore:
Timestamp:
06/15/2017 11:59:19 AM (2 years ago)
Author:
johnbillion
Message:

Database: Add documentation for the allowed utf8mb4_520 value when detecting features with wpdb::has_cap().

Props rcutmore

Fixes #41044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r39323 r40906  
    32693269     * @param string $db_cap The feature to check for. Accepts 'collation',
    32703270     *                       'group_concat', 'subqueries', 'set_charset',
    3271      *                       or 'utf8mb4'.
     3271     *                       'utf8mb4', or 'utf8mb4_520'.
    32723272     * @return int|false Whether the database feature is supported, false otherwise.
    32733273     */
Note: See TracChangeset for help on using the changeset viewer.