WordPress.org

Ready to get started?Download WordPress

Forums

BTCNew
Small typo in comments template (5 posts)

  1. Simon Wheatley
    Code for the People
    Posted 3 years ago #

    Just a small typo at the bottom of the comment-template.php file, which makes the word previous to "BackType" run into it (e.g. "Additional comments powered byBackType").

    I suggest this line is changed to: echo '<p class="btc-powered">'. sprintf(__('Additional comments powered by %s', 'btcnew'), '<a href="http://www.backtype.com/search?q=' . get_permalink($post->ID) . '">BackType</a>' ). '</p>';

    This is a more translation friendly way of doing it, and adds the space in English.

    Hope this helps.

    http://wordpress.org/extend/plugins/btcnew/

  2. mcalamelli
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Simon, thank you for this bug report! I already done this change into my local repository, and I think i'll be ready to commit a new release in the coming weeks.

    Massimiliano

  3. Simon Wheatley
    Code for the People
    Posted 3 years ago #

    Good news, thanks!

  4. Simon Wheatley
    Code for the People
    Posted 3 years ago #

    Hi Massimiliano, I've noticed another, similar, issue with the notice put at the bottom of comments to explain their source. Perhaps you've spotted it already? In function _btcnew_comment_desc I think the line at about line 1020 should be:

    $desc = '<p><em>' . sprintf( __('This comment was originally posted on %s', 'btcnew'), '<a href="' . $entry['comment_url'] . '" rel="nofollow"' . (($title != '') ? ' title="' . $title . '"' : '') . '>' . $source . '</a>' ) . '</em></p>';

    Thanks again for listening, and thanks for the plugin.

  5. mcalamelli
    Member
    Plugin Author

    Posted 3 years ago #

    Already spotted, but thanks again, Simon! These issues are coming from a patch that I received some time ago, about i18n, not so much tested. My fault :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags