WordPress.org

Ready to get started?Download WordPress

Forums

PhotoContest Plugin
Kyrillic text for image link when flag "polaroid" = "fa (3 posts)

  1. wonigg
    Member
    Posted 3 years ago #

    When the flag

    //Use the flash polariod (true) of plain html (false)?
    define('WP_USE_FLASH', 'false');

    is set to 'false' the link textofthe thumbnail images is presentiet in kyrillik letters. With the flag = true the link text is in latin and ok.
    Here is the code from the webpage:

    <span class="polaroid_button"><a href="http://www.docwon.de/wordpress/wp-content/plugins/wp-photocontest/viewimg.php?img_id=27&post_id=157">Гласувай</a></span>

    The presentation of the images as thumbnail is ok.

    http://wordpress.org/extend/plugins/wp-photocontest/

  2. frekel
    Member
    Plugin Author

    Posted 3 years ago #

    Hmmmm funny bug.

    Open lib/wp-photocontest.class.php goto line 327 and change:
    <span class="polaroid_button"><a href="<?php echo get_option('siteurl').'/wp-content/plugins/wp-photocontest/viewimg.php?img_id='.$page_row['img_id'].'&post_id='.$post_id;?>"><?php __('Vote', 'wp-photocontest');?>Гласувай</a></span>

    to

    <span class="polaroid_button"><a href="<?php echo get_option('siteurl').'/wp-content/plugins/wp-photocontest/viewimg.php?img_id='.$page_row['img_id'].'&post_id='.$post_id;?>"><?php __('Vote', 'wp-photocontest');?></a></span>

  3. tablesalt
    Member
    Posted 3 years ago #

    oh, this is a known bug!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic