Tracking fix

This commit is contained in:
Mike Jolley 2011-11-23 08:43:27 +00:00
parent 93c95b66e8
commit 16d7cf15f0
1 changed files with 2 additions and 2 deletions

View File

@ -155,10 +155,10 @@ function woocommerce_order_tracking( $atts ) {
<?php
else :
echo '<p>'.__('Sorry, we could not find that order id in our database. <a href="'.get_permalink($post->ID).'">'.__('Want to retry?', 'woothemes').'</a>', 'woothemes').'</p>';
echo '<p>'.sprintf(__('Sorry, we could not find that order id in our database. <a href="%s">Want to retry?</a>', 'woothemes'), get_permalink($post->ID)).'</p>';
endif;
else :
echo '<p>'.__('Sorry, we could not find that order id in our database. <a href="'.get_permalink($post->ID).'">'.__('Want to retry?', 'woothemes').'</a>', 'woothemes').'</p>';
echo '<p>'.sprintf(__('Sorry, we could not find that order id in our database. <a href="%s">Want to retry?</a>', 'woothemes'), get_permalink($post->ID)).'</p>';
endif;
else :