Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Bug on Low End Box I could use help with
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Bug on Low End Box I could use help with

jbilohjbiloh Administrator, Veteran

Hi Everyone,

Hoping that someone can help me fix a bug on Low End Box:

The related code:

<li class="recentcomments"><span class="comment-author vcard"><a href="<?php echo get_permalink($comment->comment_post_ID) ?>#comment-<?php echo $comment->comment_ID ?>" title="<?php echo $comment->comment_author . ' on ' . get_the_title($comment->comment_post_ID); ?>"><span class="fn n"><?php echo $comment->comment_author; ?></span></a></span> <span class="comment-entry-title">on <cite title="%2$s"><?php echo get_the_title($comment->comment_post_ID); ?></cite></span> <blockquote class="comment-summary" title="Comment on %2$s"><?php echo strip_tags($comment->comment_excerpt); ?> &hellip;</blockquote></li>

I'm not a developer (not even close). So a little help on this to fix this bug would be appreciated.

Thanks everyone.

Comments

  • RossGRossG Member, Host Rep
    edited March 2020

    What if you just remove <cite title="%2$s">

  • StevieStevie Member
    edited March 2020

    it's just going keep showing %2$s since there is no function or code to do anything else but display %2$s

  • 4d4m4d4m Member
    edited March 2020

    Change: cite title="%2$s"

    To: cite title=""

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire
    edited March 2020

    Not sure what you want to achieve, but a quick fix would be changing all %2$s into (WTH CLOUDFLARE - see screenshot below)

    (Note: Not considering any escaping / performance issues).

  • jbilohjbiloh Administrator, Veteran

    Working on this now, thanks for the feedback everyone.

Sign In or Register to comment.