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
This commit is contained in:
ryan 2009-04-27 21:11:01 +00:00
parent 036a36a7e8
commit 8cd2e92b69

View File

@ -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