Fixes issue with displaying email template path in admin

This commit is contained in:
Neil Pie 2013-02-21 00:39:38 +00:00
parent ff940426fc
commit 11782d4f2b
1 changed files with 2 additions and 2 deletions

View File

@ -596,7 +596,7 @@ abstract class WC_Email extends WC_Settings_API {
<a href="<?php echo remove_query_arg( array( 'delete_template', 'saved' ), add_query_arg( 'move_template', $template ) ); ?>" class="button"><?php _e( 'Copy file to theme', 'woocommerce' ); ?></a>
<?php endif; ?>
<?php printf( __( 'To override and edit this email template copy <code>%s</code> to your theme folder: <code>%s</code>.', 'woocommerce' ), 'woocommerce/templates/' . $this->$template, 'yourtheme/woocommerce/' . $this->$template ); ?>
<?php printf( __( 'To override and edit this email template copy <code>%s</code> to your theme folder: <code>%s</code>.', 'woocommerce' ), $core_file, 'yourtheme/woocommerce/' . $this->$template ); ?>
</p>
<div class="editor" style="display:none">
@ -661,4 +661,4 @@ abstract class WC_Email extends WC_Settings_API {
");
}
}
}
}