Skip to:
Content

bbPress.org

Changeset 6881


Ignore:
Timestamp:
12/20/2018 07:41:40 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Titles: add comment about 8bit mode usage of mb_strlen() to provide extra context.

(After looking at this again, I wasn't confident it was correct. It seems to be, given how it's being used.)

See #3189.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/functions.php

    r6869 r6881  
    24822482 * Is a title longer that the maximum title length?
    24832483 *
     2484 * Uses mb_strlen() in `8bit` mode to treat strings as raw. This matches the
     2485 * behavior present in Comments, PHPMailer, RandomCompat, and others.
     2486 *
    24842487 * @since 2.6.0 bbPress (r6783)
    24852488 *
Note: See TracChangeset for help on using the changeset viewer.