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/autoloader/class-charitable-registry.php +2 -2 1.7.0.7 → 1.8.13 View file →
@@ -3,9 +3,9 @@
3 3 * Responsible for holding instances of Charitable helper objects.
4 4 *
5 5 * @package Charitable/Classes/Charitable_Registry
6 6 * @author David Bisset
7 - * @copyright Copyright (c) 2022, WP Charitable LLC
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.5.0
10 10 * @version 1.6.49
11 11 */
@@ -131,9 +131,9 @@
131 131 */
132 132 protected function get_class_instance( $class ) {
133 133 if ( ! class_exists( $class ) ) {
134 134 /* translators: %s: class name */
135 - wp_die( sprintf( _x( 'Class %s does not exist.', 'error message when non-existent class is called', 'charitable' ), $class ) );
135 + wp_die( esc_html( sprintf( _x( 'Class %s does not exist.', 'error message when non-existent class is called', 'charitable' ), $class ) ) );
136 136 }
137 137
138 138 return new $class;
139 139 }