Changeset 144
- Timestamp:
- 03/30/2009 11:15:20 PM (3 years ago)
- Location:
- trunk/WordPress/plugin/transposh
- Files:
-
- 2 edited
-
transposh.php (modified) (1 diff)
-
transposh_db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/transposh.php
r141 r144 445 445 global $wp_query; 446 446 447 if(!get_option(ENABLE_AUTO_TRANSLATE ))447 if(!get_option(ENABLE_AUTO_TRANSLATE, 1)) 448 448 { 449 449 return FALSE; -
trunk/WordPress/plugin/transposh/transposh_db.php
r143 r144 123 123 //is a translator or automatic translation if it is enabled. 124 124 if(!(is_editable_lang($lang) && 125 (is_translator() || ($source == 1 && get_option(ENABLE_AUTO_TRANSLATE )))))125 (is_translator() || ($source == 1 && get_option(ENABLE_AUTO_TRANSLATE, 1))))) 126 126 { 127 127 logger("Unauthorized translation attempt " . $_SERVER['REMOTE_ADDR'] , 1);
Note: See TracChangeset
for help on using the changeset viewer.
