Plugin Directory

Changeset 454311


Ignore:
Timestamp:
10/22/2011 05:40:05 PM (14 years ago)
Author:
binnyva
Message:

Bugfix. New version

Location:
surveys/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • surveys/trunk/readme.txt

    r453326 r454311  
    55Requires at least: 2.5
    66Tested up to: 3.2.1
    7 Stable tag: 1.01.7
     7Stable tag: 1.01.8
    88
    99The Surveys WordPress plugin lets you add surveys to your blog. You can let the vistors take surveys and see the result from the admin side.
     
    7474* Transilation works as expected.
    7575* Abilty to Delete all responses added.
     76
     77= 1.01.8 =
     78* Bugfix is internationalization part.
  • surveys/trunk/surveys.php

    r453326 r454311  
    44Plugin URI: http://www.bin-co.com/tools/wordpress/plugins/surveys/
    55Description: The Surveys WordPress plugin lets you add surveys to your blog. You can let the vistors take surveys and see the result from the admin side.
    6 Version: 1.01.7
     6Version: 1.01.8
    77Author: Binny V A
    88Author URI: http://www.binnyva.com/
  • surveys/trunk/wpframe.php

    r453326 r454311  
    5050/// Globalization function - Returns the transilated string
    5151function t($message) {
    52     return __(call_user_func_array('sprintf', array($message) + func_get_args()) , $GLOBALS['wpframe_plugin_name']);
     52    $args = func_get_args();
     53    return __(call_user_func_array('sprintf', $args), $GLOBALS['wpframe_plugin_name']);
    5354}
    5455}
     
    5758/// Globalization function - prints the transilated string
    5859function e($message) {
    59     _e(call_user_func_array('sprintf', array($message) + func_get_args()) , $GLOBALS['wpframe_plugin_name']);
     60    $args = func_get_args();
     61    _e(call_user_func_array('sprintf', $args) , $GLOBALS['wpframe_plugin_name']);
    6062}
    6163}
Note: See TracChangeset for help on using the changeset viewer.