PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 1.7.0.9 All 211 releases
← All changes | includes/admin/dashboard-widgets/class-charitable-donations-dashboard-widget.php +8 -6 1.6.8 → 1.8.13 View file →
@@ -3,15 +3,17 @@
3 3 * Sets up the Donations dashboard widget.
4 4 *
5 5 * @package Charitable/Classes/Charitable_Donations_Dashboard_Widget
6 6 * @version 1.2.0
7 - * @author Eric Daams
8 - * @copyright Copyright (c) 2019, Studio 164a
7 + * @author David Bisset
8 + * @copyright Copyright (c) 2023, WP Charitable LLC
9 9 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
10 10 */
11 11
12 12 // Exit if accessed directly.
13 -if ( ! defined( 'ABSPATH' ) ) { exit; }
13 +if ( ! defined( 'ABSPATH' ) ) {
14 + exit;
15 +}
14 16
15 17 if ( ! class_exists( 'Charitable_Donations_Dashboard_Widget' ) ) :
16 18
17 19 /**
@@ -46,13 +48,13 @@
46 48 *
47 49 * @return void
48 50 */
49 51 public static function display() {
50 - ?>
52 + ?>
51 53 <p class="hide-if-no-js">
52 - <img src="<?php echo charitable()->get_path( 'assets', false ) ?>/images/charitable-loading.gif" width="60" height="60" alt="<?php esc_attr_e( 'Loading&hellip;', 'charitable' ) ?>" />
54 + <img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) ); ?>/images/charitable-loading.gif" width="60" height="60" alt="<?php esc_attr_e( 'Loading&hellip;', 'charitable' ); ?>" />
53 55 </p>
54 - <?php
56 + <?php
55 57 }
56 58
57 59 /**
58 60 * Return the content to display inside the widget.