PluginProbe
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards / 5.5.84
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards v5.5.84
5.5.84 5.5.83 5.5.82 5.5.81 5.5.80 5.5.79 5.5.77 5.5.76 5.5.75 5.5.73 5.5.72 5.5.22 5.5.23 5.5.29 5.5.3 5.5.31 5.5.32 5.5.34 5.5.35 5.5.36 5.5.37 5.5.4 5.5.40 5.5.41 5.5.42 All 160 releases
← All changes | WPDataProjects/Utilities/WPDP_Export_Project.php +4 -4 5.5.35.5.84 View file →
@@ -81,9 +81,9 @@
81 81 $wpdb->prepare( 'where project_id = %d', array( $this->project_id ) ),
82 82 WPDP_Page_Model::BASE_TABLE_NAME
83 83 );
84 84
85 - if ( count( $this->optionsets ) > 0 ) {//phpcs:ignore - 8.1 proof
85 + if ( count( $this->optionsets ) > 0 ) { // phpcs:ignore -- 8.1 proof
86 86 $this->get_child_optionsets();
87 87 $this->insert_optionsets();
88 88 }
89 89
@@ -128,9 +128,9 @@
128 128 $save_suppress_errors = $wpdb->suppress_errors;
129 129 $wpdb->suppress_errors = true;
130 130
131 131 $query = "select * from $table_name $where";
132 - $rows = $wpdb->get_results( $query, 'ARRAY_A' ); // phpcs:ignore WordPress.DB.PreparedSQL
132 + $rows = $wpdb->get_results( $query, 'ARRAY_A' ); // phpcs:ignore WordPress.DB.PreparedSQL, WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter
133 133
134 134 if ( $wpdb->num_rows > 0 ) {
135 135 // Prepare row export: get column names and data types.
136 136 $wpda_list_columns = WPDA_List_Columns_Cache::get_list_columns( '', $table_name ); // repository tables only
@@ -169,10 +169,10 @@
169 169 $first_row = false;
170 170 }
171 171 echo "\n(";
172 172
173 - $keys = array_keys( $row );//phpcs:ignore - 8.1 proof
174 - $last_column = end( $keys );//phpcs:ignore - 8.1 proof
173 + $keys = array_keys( $row ); // phpcs:ignore -- 8.1 proof
174 + $last_column = end( $keys ); // phpcs:ignore -- 8.1 proof
175 175 foreach ( $row as $column_name => $column_value ) {
176 176 if (
177 177 ! ( WPDP_Project_Model::get_base_table_name() === $table_name && 'project_id' === $column_name ) &&
178 178 ! ( WPDP_Page_Model::get_base_table_name() === $table_name && 'page_id' === $column_name )