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/shortcodes/class-charitable-profile-shortcode.php +6 -4 1.6.9 → 1.8.13 View file →
@@ -2,10 +2,10 @@
2 2 /**
3 3 * Profile shortcode class.
4 4 *
5 5 * @package Charitable/Shortcodes/Profile
6 - * @author Eric Daams
7 - * @copyright Copyright (c) 2019, Studio 164a
6 + * @author David Bisset
7 + * @copyright Copyright (c) 2023, WP Charitable LLC
8 8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 9 * @since 1.0.0
10 10 * @version 1.5.7
11 11 */
@@ -10,9 +10,11 @@
10 10 * @version 1.5.7
11 11 */
12 12
13 13 // Exit if accessed directly.
14 -if ( ! defined( 'ABSPATH' ) ) { exit; }
14 +if ( ! defined( 'ABSPATH' ) ) {
15 + exit;
16 +}
15 17
16 18 if ( ! class_exists( 'Charitable_Profile_Shortcode' ) ) :
17 19
18 20 /**
@@ -46,9 +48,9 @@
46 48
47 49 if ( false == $args['hide_login'] ) {
48 50 $args['redirect'] = charitable_get_current_url();
49 51
50 - echo Charitable_Login_Shortcode::display( $args );
52 + echo Charitable_Login_Shortcode::display( $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
51 53 }
52 54
53 55 return ob_get_clean();
54 56 }