• During testing of this plugin we found a bug that will keep us from pushing this into our production site. On our Dev site I am noticing an intermittent “Comment Off” notification just below our post title mainly for “posts” though our Custom Post Types are affected as well.

    However, once you click the post link you will notice the comment field reads accurately and you can add a comment as normal. Yes, comments are enabled for the posts in question (It does not matter if you are logged in or out).

    When I disable the plugin I see the results I would normally expect so the plugin appears to be causing the issue. I changed the theme and turned off all other plugins and the issue still persists until UM is turned off.

    Assistance would be greatly appreciated. This plugin looks like a promising feature for our readers.

    Specific Example: On Dev homepage https://9km.f7f.myftpupload.com/ this url says “Comments Off” when it should say “No Comments”. However, once you click the post link https://9km.f7f.myftpupload.com/2018/08/u-s-spending-on-interest-hits-all-time-high-as-budget-deficit-soars-to-684-billion you can see it says “0 Comments”.

    • This topic was modified 6 years, 7 months ago by bward.
    • This topic was modified 6 years, 7 months ago by bward.
    • This topic was modified 6 years, 7 months ago by bward.

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

Viewing 1 replies (of 1 total)
  • Thread Starter bward

    (@bward)

    I notice the only place in my WordPress install where the words “Comments Off” are located is in the folder “wp-includes” and the file “comment-template.php”

    if ( false === $zero ) $zero = __( ‘No Comments’ );
    if ( false === $one ) $one = __( ‘1 Comment’ );
    if ( false === $more ) $more = __( ‘% Comments’ );
    if ( false === $none ) $none = __( ‘Comments Off‘ );

    From what I am seeing, I get a “Comments Off” indication when there are no comments on a post. If there are comments then the notification works correctly. Again with the plugin off I do not have any issues.

    It seems the “$none” value is being inserted by the plugin for the comment count when the “$zero” field should be inserted.

    How all that ties into the plugin is beyond me. I appreciate any assistance. Thank you.

    • This reply was modified 6 years, 7 months ago by bward.
    • This reply was modified 6 years, 7 months ago by bward.
Viewing 1 replies (of 1 total)
  • The topic ‘“Comments Off” Only On Homepage’ is closed to new replies.