WordPress.org

Make WordPress Core

Ticket #15474: 15474.patch

File 15474.patch, 693 bytes (added by hakre, 5 years ago)
  • wp-includes/rewrite.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    205205 * The endpoints are added to the end of the request. So a request matching 
    206206 * "/2008/10/14/my_post/myep/", the endpoint will be "/myep/". 
    207207 * 
    208  * Be sure to flush the rewrite rules (wp_rewrite->flush()) when your plugin gets 
     208 * Be sure to flush the rewrite rules (wp_rewrite->flush_rules()) when your plugin gets 
    209209 * activated (register_activation_hook()) and deactivated (register_deactivation_hook()) 
    210210 * 
    211211 * @since 2.1.0