WordPress.org

Ready to get started?Download WordPress

Forums

Featured Articles Lite
Link target problems (2 posts)

  1. ?ukasz Jasi?ski
    Member
    Posted 2 years ago #

    I found a little bug in common.php in line 580. It stands:
    $title_html .= '<a href="'.get_permalink($post->ID).'" title="'.$post->post_title.'" target=".$post->link_target.">';
    when I think it should be
    $title_html .= '<a href="'.get_permalink($post->ID).'" title="'.$post->post_title.'" target="'.$post->link_target.'">';

    It caused opening every link in a new tab, when clicked on a tab.
    I have to say - that plugin is a great one and many thanks for that.

    http://wordpress.org/extend/plugins/featured-articles-lite/

  2. constantin.boiangiu
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for pointing that out. I should learn my lesson once and for all and use sprintf() to avoid such rookie mistakes.

    I'm very happy you like it, a lot of effort was put into it. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic