Permalink
Browse files

AdminPage / use function to automate production of admin.php URLs. / …

…Sanitize special characters in URL, since we are likely to have an amp.
  • Loading branch information...
Charles Johnson
Charles Johnson committed May 4, 2013
1 parent 177985d commit a22e89f231295dc34f053be59c3be5e7f82037b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 feedwordpresssyndicationpage.class.php
@@ -663,7 +663,7 @@ function bleg_box ($page, $box = NULL) {
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="item_name" value="FeedWordPress donation" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="return" value="<?php print $this->admin_page_href(basename($this->filename), array('paid' => 'yes')); ?>" />
<input type="hidden" name="return" value="<?php print esc_attr($this->admin_page_href(basename($this->filename), array('paid' => 'yes'))); ?>" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="notify_url" value="http://feedwordpress.radgeek.com/ipn/donation" />
<input type="hidden" name="custom" value="1" />

0 comments on commit a22e89f

Please sign in to comment.