Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53910, comment 4


Ignore:
Timestamp:
08/10/2021 10:29:12 PM (6 months ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53910, comment 4

    initial v1  
    55- remove the `$title_seems_utf8` variable
    66- remove the `$length` argument in the original call `utf8_uri_encode()`
    7 - trim any title that `seems_utf8()` to `200` at the end of `sanitize_title_with_dashes()`.
     7- trim any title that `seems_utf8()` to `200` at the end of `sanitize_title_with_dashes()`
    88
    99PHPUnit tests are successful.
     10
     11As the issue only occurred with `seems_utf8()` titles that were trimmed too early, I've only made the change in this circumstance to prevent the fix interfering with unknown potential uses of 200+ character title slugs.