Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #54466


Ignore:
Timestamp:
12/19/2021 04:37:58 PM (4 years ago)
Author:
SergeyBiryukov
Comment:

Hi there, welcome back to WordPress Trac! Thanks for the ticket.

We're already tracking this issue in #40440, let's continue the discussion there.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54466

    • Property Status changed from new to closed
    • Property Resolution changed from to duplicate
    • Property Milestone changed from Awaiting Review to
  • Ticket #54466 – Description

    initial v2  
    1414        add_rewrite_rule( '/([^/]*)/([^/]*)/?', 'index.php?post_type=page&pagename=$matches[1]&query1=$matches[2]', 'top' );
    1515
    16         //Save the last modified date of the file in a Wordpress option
     16        //Save the last modified date of the file in a WordPress option
    1717        update_option( 'custom_rewrite_rules_date', filemtime( __FILE__ ) );
    1818        flush_rewrite_rules();