PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
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 2.30.0 All 255 releases
← All changes | includes/admin/tools/class-settings-export.php +9 -10 2.3.14.16.9 View file →
@@ -40,13 +40,12 @@
40 40
41 41 add_action( 'give_admin_field_tools_export', array( 'Give_Settings_Export', 'render_export_field' ), 10, 2 );
42 42
43 43 // Do not use main donor for this tab.
44 - if( give_get_current_setting_tab() === $this->id ) {
44 + if ( give_get_current_setting_tab() === $this->id ) {
45 45 add_action( 'give-tools_open_form', '__return_empty_string' );
46 46 add_action( 'give-tools_close_form', '__return_empty_string' );
47 47
48 -
49 48 require_once GIVE_PLUGIN_DIR . 'includes/admin/tools/export/class-give-export-donations.php';
50 49 }
51 50 }
52 51
@@ -66,11 +65,11 @@
66 65 $settings = apply_filters(
67 66 'give_get_settings_' . $this->id,
68 67 array(
69 68 array(
70 - 'id' => 'give_tools_export',
71 - 'type' => 'title',
72 - 'table_html' => false
69 + 'id' => 'give_tools_export',
70 + 'type' => 'title',
71 + 'table_html' => false,
73 72 ),
74 73 array(
75 74 'id' => 'export',
76 75 'name' => __( 'Export', 'give' ),
@@ -76,12 +75,12 @@
76 75 'name' => __( 'Export', 'give' ),
77 76 'type' => 'tools_export',
78 77 ),
79 78 array(
80 - 'id' => 'give_tools_export',
81 - 'type' => 'sectionend',
82 - 'table_html' => false
83 - )
79 + 'id' => 'give_tools_export',
80 + 'type' => 'sectionend',
81 + 'table_html' => false,
82 + ),
84 83 )
85 84 );
86 85
87 86 // Output.
@@ -97,9 +96,9 @@
97 96 * @param $field
98 97 * @param $option_value
99 98 */
100 99 public static function render_export_field( $field, $option_value ) {
101 - include_once( 'views/html-admin-page-exports.php' );
100 + include_once 'views/html-admin-page-exports.php';
102 101 }
103 102 }
104 103
105 104 endif;