Permalink
Browse files

Pass all defined vars for maximum backwards compatibility

  • Loading branch information...
superdav42 committed Aug 20, 2018
1 parent 7de5031 commit 90d9efdc9dfdbc0cb8ed2466cf1de68ede276982
Showing with 2 additions and 21 deletions.
  1. +2 −21 gp-templates/translation-row.php
@@ -18,24 +18,5 @@
$translation = map_glossary_entries_to_translation_originals( $translation, $glossary, $glossary_entries_terms );
}
gp_tmpl_load(
'translation-row-preview', array(
'translation' => $translation,
'can_edit' => $can_edit,
'can_approve' => $can_approve,
'can_approve_translation' => $can_approve_translation,
)
);
gp_tmpl_load(
'translation-row-editor', array(
'translation' => $translation,
'can_write' => $can_write,
'can_edit' => $can_edit,
'can_approve' => $can_approve,
'can_approve_translation' => $can_approve_translation,
'can_edit' => $can_edit,
'locale' => $locale,
'project' => $project,
'translation_set' => $translation_set,
)
);
gp_tmpl_load('translation-row-preview', get_defined_vars());
gp_tmpl_load('translation-row-editor', get_defined_vars());

0 comments on commit 90d9efd

Please sign in to comment.