From 16d7cf15f0e0de5a73d9c50e9b3deca8a9aac8e5 Mon Sep 17 00:00:00 2001
From: Mike Jolley
Date: Wed, 23 Nov 2011 08:43:27 +0000
Subject: [PATCH] Tracking fix
---
shortcodes/shortcode-order_tracking.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shortcodes/shortcode-order_tracking.php b/shortcodes/shortcode-order_tracking.php
index 04c93e88fff..1ad0c350055 100644
--- a/shortcodes/shortcode-order_tracking.php
+++ b/shortcodes/shortcode-order_tracking.php
@@ -155,10 +155,10 @@ function woocommerce_order_tracking( $atts ) {
'.__('Sorry, we could not find that order id in our database. '.__('Want to retry?', 'woothemes').'', 'woothemes').'
';
+ echo ''.sprintf(__('Sorry, we could not find that order id in our database. Want to retry?', 'woothemes'), get_permalink($post->ID)).'
';
endif;
else :
- echo ''.__('Sorry, we could not find that order id in our database. '.__('Want to retry?', 'woothemes').'', 'woothemes').'
';
+ echo ''.sprintf(__('Sorry, we could not find that order id in our database. Want to retry?', 'woothemes'), get_permalink($post->ID)).'
';
endif;
else :