WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36812, comment 1


Ignore:
Timestamp:
06/06/2016 11:08:02 PM (4 years ago)
Author:
JProffitt71
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36812, comment 1

    initial v1  
    11+1 I just ran into this exact same issue. It is preventing me from properly creating a structure for a rebuild of a site that used month names instead of month numbers in their post permalinks.
    22
    3 I worked around it by defining my own tokens for `(` and `)`, and then replaced those in "post_rewrite_rules"
    4 
    5 The only way I could work around it right now is to define my own placeholders for '(' and ')' and replace those in a `post_rewrite_rules` filter. (Note: I couldn't use non-capturing groups because those throw off the queryvar matching, it puts the next tag in my non-capturing tags query var).
     3The only way I could work around it right now is to define my own placeholders for `(` and `)` and replace those in a `post_rewrite_rules` filter. (Note: I couldn't use non-capturing groups because those throw off the queryvar matching, it puts the next tag in my non-capturing tags query var).