Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: sitepress.class.php
- ===================================================================
- --- sitepress.class.php (revision 14698)
- +++ sitepress.class.php (working copy)
- @@ -7015,7 +7015,12 @@
- ) . '<img style="padding:1px;margin:2px;" border="0" src="'.ICL_PLUGIN_URL . '/res/img/' .$img.'" alt="'.$alt.'" width="16" height="16" />' . '</a>';
- }
- break;
- - default:
- + default:
- + foreach($__management_columns_posts_translations[$id] as $key => $value){
- + if(is_null($value->source_language_code)){
- + $src_lang=$key;
- + }
- + }
- $link = 'post-new.php?post_type='.$post_type.'&trid='
- . $__management_columns_posts_translations[$id][$src_lang]->trid.'&lang='.$v['code'].'&source_lang=' . $src_lang;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement