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/class-settings-import.php +14 -8 2.3.0 → 4.17.0 View file →
@@ -3,9 +3,9 @@
3 3 * Give Settings Page/Tab
4 4 *
5 5 * @package Give
6 6 * @subpackage Classes/Give_Settings_Import
7 - * @copyright Copyright (c) 2016, WordImpress
7 + * @copyright Copyright (c) 2016, GiveWP
8 8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 9 * @since 1.8
10 10 */
11 11
@@ -49,19 +49,25 @@
49 49
50 50 parent::__construct();
51 51
52 52 // Will display html of the import donation.
53 - add_action( 'give_admin_field_tools_import', array(
54 - 'Give_Settings_Import',
55 - 'render_import_field',
56 - ), 10, 2 );
53 + add_action(
54 + 'give_admin_field_tools_import',
55 + array(
56 + 'Give_Settings_Import',
57 + 'render_import_field',
58 + ),
59 + 10,
60 + 2
61 + );
57 62
58 63 // Do not use main form for this tab.
59 64 if ( give_get_current_setting_tab() === $this->id ) {
60 - add_action( "give-tools_open_form", '__return_empty_string' );
61 - add_action( "give-tools_close_form", '__return_empty_string' );
65 + add_action( 'give-tools_open_form', '__return_empty_string' );
66 + add_action( 'give-tools_close_form', '__return_empty_string' );
62 67
63 - require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-donations.php';
68 + require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-donations.php';
69 + require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-subscriptions.php';
64 70 require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/import/class-give-import-core-settings.php';
65 71 }
66 72 }
67 73