Changeset 116
- Timestamp:
- 03/29/2009 12:11:04 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/WordPress/plugin/transposh/transposh.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/transposh.php
r110 r116 499 499 return; 500 500 } 501 501 502 $lang = $wp_query->query_vars[LANG_PARAM]; 503 $editable_langs = get_option(EDITABLE_LANGS); 504 505 if(strpos($editable_langs, $lang) === FALSE) 506 { 507 //not an editable language - no need for any js. 508 return; 509 } 510 502 511 $is_edit_param_enabled = $wp_query->query_vars[EDIT_PARAM]; 503 512 504 513 if (!$is_edit_param_enabled && ! $enable_auto_translate) 505 514 {
Note: See TracChangeset
for help on using the changeset viewer.
