← All changes
|
includes/shortcodes/class-charitable-donation-form-shortcode.php
+3
-2
1.7.0.7
→
1.8.13
View file →
| @@ -3,12 +3,12 @@ | ||
| 3 | 3 | * Donation Form shortcode class. |
| 4 | 4 | * |
| 5 | 5 | * @package Charitable/Shortcodes/Donation Form |
| 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 | - * @version 1.5.14 | |
| 10 | + * @version 1.8.3.5 | |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | 13 | // Exit if accessed directly. |
| 14 | 14 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -36,8 +36,9 @@ | ||
| 36 | 36 | */ |
| 37 | 37 | public static function display( $atts ) { |
| 38 | 38 | $defaults = array( |
| 39 | 39 | 'campaign_id' => 0, |
| 40 | + 'type' => 'full', | |
| 40 | 41 | ); |
| 41 | 42 | |
| 42 | 43 | /* Parse incoming $atts into an array and merge it with $defaults. */ |
| 43 | 44 | $args = shortcode_atts( $defaults, $atts, 'charitable_donation_form' ); |