From 8cd2e92b6904a827a99988590bb5080f0f73a24c Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 27 Apr 2009 21:11:01 +0000 Subject: [PATCH] Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476 git-svn-id: http://svn.automattic.com/wordpress/trunk@11102 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rewrite.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 7efb96ef8..23e1bac0f 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -178,6 +178,9 @@ define('EP_ALL', 8191); * The endpoints are added to the end of the request. So a request matching * "/2008/10/14/my_post/myep/", the endpoint will be "/myep/". * + * Be sure to flush the rewrite rules (wp_rewrite->flush()) when your plugin gets + * activated (register_activation_hook()) and deactivated (register_deactivation_hook()) + * * @since 2.1.0 * @see WP_Rewrite::add_endpoint() Parameters and more description. * @uses $wp_rewrite