diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 07a344bc92..9be80de521 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -205,7 +205,7 @@ 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 + * Be sure to flush the rewrite rules (wp_rewrite->flush_rules()) when your plugin gets * activated (register_activation_hook()) and deactivated (register_deactivation_hook()) * * @since 2.1.0