WordPress.org

Make WordPress Core

Ticket #9476: 9476.diff

File 9476.diff, 717 bytes (added by Denis-de-Bernardy, 13 years ago)
  • Users/denis/Sites/sem-pro/wp-includes/rewrite.php

     
    178178 * The endpoints are added to the end of the request. So a request matching
    179179 * "/2008/10/14/my_post/myep/", the endpoint will be "/myep/".
    180180 *
     181 * Be sure to flush the rewrite rules (wp_rewrite->flush()) when your plugin gets
     182 * activated (register_activation_hook()) and deactivated (register_deactivation_hook())
     183 *
    181184 * @since 2.1.0
    182185 * @see WP_Rewrite::add_endpoint() Parameters and more description.
    183186 * @uses $wp_rewrite