Changeset 1871941
- Timestamp:
- 05/10/2018 07:06:38 AM (8 years ago)
- Location:
- wp-virgin-money-giving/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (3 diffs)
-
admin/class-wp-virgin-money-giving-admin.php (modified) (1 diff)
-
includes/class-virgin-money-giving-api.php (modified) (1 diff)
-
includes/class-wp-fundraisers-widget.php (modified) (2 diffs)
-
wp-virgin-money-giving.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-virgin-money-giving/trunk/README.txt
r1568002 r1871941 4 4 Tags: Virgin Money Giving, fundraising, fundraiser, fundraisers, charity, charities, donations meter, donate, donating, widget 5 5 Requires at least: 4.4.2 6 Tested up to: 4. 77 Stable tag: 1.1. 56 Tested up to: 4.9.5 7 Stable tag: 1.1.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 47 47 == Changelog == 48 48 49 = 1.1.6 = 50 * Added team page conditional. 51 49 52 = 1.1.5 = 50 53 * Fixed single page and multiple page array from feed. … … 70 73 71 74 == Upgrade Notice == 75 76 = 1.1.6 = 77 Additional fix for team pages. 72 78 73 79 = 1.1.5 = -
wp-virgin-money-giving/trunk/admin/class-wp-virgin-money-giving-admin.php
r1461919 r1871941 199 199 $error = array(); 200 200 $vmg_settings = get_option('wp_virgin_money_giving_options_name'); 201 202 var_dump($vmg_settings); 203 201 204 if (isset($vmg_settings) && !empty($vmg_settings)) { 202 205 -
wp-virgin-money-giving/trunk/includes/class-virgin-money-giving-api.php
r1380909 r1871941 97 97 98 98 $apiCall = self::API_Fundraisers_URL . $resource . $key; 99 100 var_dump($apiCall); 99 101 100 102 $curl = curl_init(); -
wp-virgin-money-giving/trunk/includes/class-wp-fundraisers-widget.php
r1568002 r1871941 107 107 $fundraisers_page_details = $fundraisers_page_details->pageDetails[0]; 108 108 109 if ($fundraisers_page_details->teamPage == true) { 110 $fundraisers_page_url = $fundraisers_page_details->pageUrl . '&isTeam=true'; 111 } else { 112 $fundraisers_page_url = $fundraisers_page_details->pageUrl; 113 } 114 109 115 $percentage = ($fundraisers_page_details->donationTotalGross / $fundraisers_page_details->targetAmount) * 100; 110 116 … … 131 137 <li class="detail">Total Donors: <span class="data"><?php echo esc_attr($fundraisers_page_details->numberOfDonations); ?></span></li> 132 138 </ul> 133 <a href="<?php echo esc_attr($fundraisers_page_ details->pageUrl); ?>" target="_blank">139 <a href="<?php echo esc_attr($fundraisers_page_url); ?>" target="_blank"> 134 140 <img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . 'public/images/virgin-money-giving.png'; ?>" alt="virgin-money-giving" /> 135 141 <p>Donate Now >> </p> -
wp-virgin-money-giving/trunk/wp-virgin-money-giving.php
r1568002 r1871941 17 17 * Plugin URI: http://www.squareonemd.co.uk/ 18 18 * Description: A plugin that uses the Virgin Money Giving API to feed data in to your website via a widget. 19 * Version: 1.1. 519 * Version: 1.1.6 20 20 * Author: Elliott Richmond Square One 21 21 * Author URI: http://www.squareonemd.co.uk/
Note: See TracChangeset
for help on using the changeset viewer.