From d1b03c4903843bf932f060a2578a3adb4c4e4ae5 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Sat, 5 Dec 2009 14:53:55 -0800 Subject: [PATCH] Buy Print URL fix Signed-off-by: Philip M. Hofer (Frumph) --- widgets/BuyThisPrintWidget.inc | 6 +++--- widgets/GraphicalNavigationWidget.inc | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/widgets/BuyThisPrintWidget.inc b/widgets/BuyThisPrintWidget.inc index 39906a7..319b00c 100644 --- a/widgets/BuyThisPrintWidget.inc +++ b/widgets/BuyThisPrintWidget.inc @@ -21,7 +21,7 @@ class BuyThisPrintWidget extends WP_Widget { function widget($args, $instance) { extract($args, EXTR_SKIP); - + echo $before_widget; $title = apply_filters('widget_title', $instance['title']); if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }; @@ -34,8 +34,8 @@ class BuyThisPrintWidget extends WP_Widget { } function buy_print_structure($content = '') { - global $buy_print_url; ?> -
+ $comicpress_options = comicpress_load_options(); ?> +
diff --git a/widgets/GraphicalNavigationWidget.inc b/widgets/GraphicalNavigationWidget.inc index 3835838..d489bf0 100644 --- a/widgets/GraphicalNavigationWidget.inc +++ b/widgets/GraphicalNavigationWidget.inc @@ -135,9 +135,10 @@ class GraphicalNavigationWidget extends WP_Widget { $id = $temp_id; break; case 'buyprint': + $comicpress_options = comicpress_load_options(); ?>