WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #30910, comment 8


Ignore:
Timestamp:
02/01/2015 11:17:11 PM (6 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30910, comment 8

    v2 v3  
    55Turns out, we missed adding the 'future' post status to the exception list in `get_sample_permalink()`. This is covered in [attachment:30910.diff].
    66
    7 Without adding 'future' to the exception list, when `get_permalink()` is called with the `$leavename` parameter set to true, the permalink fragment that gets passed through doesn't have the `%postname%` or `%pagename%` tag included, which ultimately results in it failing checks for a sample permalink in the UI. Interesting bug to track down.
     7Without adding 'future' to the exception list, when `get_permalink()` is called with the `$leavename` parameter set to true, the permalink fragment that gets passed through doesn't have the `%postname%` or `%pagename%` tag included, which ultimately results in it failing checks for a sample permalink in the UI.
     8
     9Interesting bug to track down.