Forums

Custom filename for wp-comments-post.php and WP-OpenID (2 posts)

  1. Chris_Archer
    Member
    Posted 3 years ago #

    Sometimes it's useful to rename wp-comments-post.php to prevent posting of spam. This filename is used only in the template and in WP-OpenID.

    It should be great if OpenID plugin has an option for custom filename for wp-comments-post.php. 'cause these frequent updates lately make this nice and simple anti-spam move annoying.

  2. Will Norris
    Member
    Posted 3 years ago #

    That was added in v3.1 (release notes here). Just add the following to your wp-config.php:

    define('OPENID_COMMENTS_POST_PAGE', 'my-comments-post.php');

    I can't remember if I actually tested it very thoroughly, so if you have trouble with it please let me know. You can also see all of the options available to the plugin, including the "hidden" ones, here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags