• Plugin Author Lester Chan

    (@gamerz)


    WP-CommentNavi 2.0.0 is a total rewrite of the plugin with Claude Code to make it more modern and testable. There will be breaking changes. Please do test it https://github.com/lesterchan/wp-commentnavi/archive/refs/heads/master.zip

    WP-CommentNavi 2.0.0 requires WordPress 6.8 and PHP 8.2. A site on an older stack is simply not offered the update, so if WP-CommentNavi has stopped appearing in your updates list, that is why.

    If your theme calls wp_commentnavi_all_comments_link(), the site will fatal. That function and the comment-all query variable behind it are gone: any visitor could append ?comment-all=1 to any URL and make WordPress load up to 9999 comments in one query. Delete the call from your theme’s comments.php. wp_commentnavi() and wp_commentnavi_dropdown() are unchanged.

    The settings screen is at options-general.php?page=wp-commentnavi, still under Settings -> CommentNavi. The old address embedded the plugin’s folder name, so anyone who installed the plugin under a different folder name could not open the screen at all.

    Settings migrate on the first admin page load, from commentnavi_options to wp_commentnavi_options, with the plugin and schema versions in a wp_commentnavi_version row of their own. Point any script or WP-CLI command that writes commentnavi_options directly at the new name.

    The navigation inherits your theme’s colours instead of painting blue links, black borders and a white background over them, so it now works on a dark theme. Set –wp-commentnavi-border-color and –wp-commentnavi-border-color-current to restyle it. If you copied commentnavi-css.css into your theme, rename your copy to wp-commentnavi.css; the plugin’s own file is css/wp-commentnavi.css and the theme override is looked up under the matching name.

    The page I need help with: [log in to see the link]

You must be logged in to reply to this topic.