WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/15/2016 08:09:08 PM (6 years ago)
Author:
rachelbaker
Message:

Comments: Use TEXT column type in fallback for wp_get_comment_column_max_length().

Fixes #10377.

File:
1 edited

Legend:

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

    r36318 r36325  
    967967        $max_length = (int) $col_length['length'];
    968968    } else {
    969         $max_length = 255;
     969        // Assume a TEXT column, 65535 - 10.
     970        $max_length = 65525;
    970971    }
    971972
Note: See TracChangeset for help on using the changeset viewer.