PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | includes/admin/tools/views/html-admin-page-imports.php +19 -5 2.3.2 → 4.17.0 View file →
@@ -6,9 +6,9 @@
6 6 if ( ! defined( 'ABSPATH' ) ) {
7 7 exit;
8 8 } ?>
9 9
10 -<div id="poststuff">
10 +<div id="poststuff" class="give-clearfix">
11 11 <div id="give-dashboard-widgets-wrap">
12 12 <div id="post-body">
13 13 <div id="post-body-content">
14 14
@@ -48,23 +48,37 @@
48 48 </h3>
49 49 <p><?php esc_html_e( 'Import a CSV of Donations.', 'give' ); ?></p>
50 50 </td>
51 51 <td>
52 - <a class="button" href="<?php echo add_query_arg( array( 'importer-type' => 'import_donations' ) ); ?>">
52 + <a class="button" href="<?php echo esc_url( add_query_arg( array( 'importer-type' => 'import_donations' ) ) ); ?>">
53 53 <?php esc_html_e( 'Import CSV', 'give' ); ?>
54 54 </a>
55 55 </td>
56 56 </tr>
57 -
57 + <?php if (defined('GIVE_RECURRING_VERSION')): ?>
58 + <tr>
59 + <td scope="row" class="row-title">
60 + <h3>
61 + <span><?php esc_html_e( 'Import Subscriptions', 'give' ); ?></span>
62 + </h3>
63 + <p class="description"><?php esc_html_e('Import a CSV of subscriptions (recurring donations).', 'give' ); ?></p>
64 + </td>
65 + <td>
66 + <a class="button" href="<?php echo esc_url( add_query_arg( array( 'importer-type' => 'import_subscriptions' ) ) ); ?>">
67 + <?php esc_html_e( 'Import Subscriptions', 'give' ); ?>
68 + </a>
69 + </td>
70 + </tr>
71 + <?php endif; ?>
58 72 <tr class="give-import-core-settings">
59 73 <td scope="row" class="row-title">
60 74 <h3>
61 - <span><?php esc_html_e( 'Import Give Settings', 'give' ); ?></span>
75 + <span><?php esc_html_e( 'Import GiveWP Settings', 'give' ); ?></span>
62 76 </h3>
63 77 <p><?php esc_html_e( 'Import Give\'s settings in JSON format.', 'give' ); ?></p>
64 78 </td>
65 79 <td>
66 - <a class="button" href="<?php echo add_query_arg( array( 'importer-type' => 'import_core_setting' ) ); ?>">
80 + <a class="button" href="<?php echo esc_url( add_query_arg( array( 'importer-type' => 'import_core_setting' ) ) ); ?>">
67 81 <?php esc_html_e( 'Import JSON', 'give' ); ?>
68 82 </a>
69 83 </td>
70 84 </tr>