Skip to:
Content

bbPress.org

Changeset 6666


Ignore:
Timestamp:
08/20/2017 11:24:53 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Converter: reduce meta_key and meta_value length to 75.

This change lowers the maximum allowed string length from 191 (which was used based on what's in WordPress core.) After further review, 75 is a reasonable maximum to try for now, though it could likely be tuned further if needed.

Trunk, for 2.6. Fixes #3145.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/classes/class-bbp-converter.php

    r6663 r6666  
    770770        // Defaults
    771771        $sql              = array();
    772         $max_index_length = 191;
    773772        $charset_collate  = '';
     773
     774        // https://bbpress.trac.wordpress.org/ticket/3145
     775        $max_index_length = 75;
    774776
    775777        // Maybe override the character set
Note: See TracChangeset for help on using the changeset viewer.