PluginProbe
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards / 5.5.85
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards v5.5.85
5.5.85 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 All 161 releases
← All changes | WPDataAccess/Utilities/WPDA_Reverse_Engineering.php +5 -4 5.5.23 → 5.5.85 View file →
@@ -53,9 +53,10 @@
53 53 $this->table_name = $table_name;
54 54
55 55 $this->wpdadb = WPDADB::get_db_connection( $this->schema_name );
56 56 if ( null === $this->wpdadb ) {
57 - wp_die( sprintf( __( 'ERROR - Remote database %s not available', 'wp-data-access' ), esc_attr( $this->schema_name ) ) );
57 + /* translators: %s = database name */
58 + wp_die( sprintf( esc_attr__( 'ERROR - Remote database %s not available', 'wp-data-access' ), esc_attr( $this->schema_name ) ) );
58 59 }
59 60 }
60 61
61 62 /**
@@ -198,9 +199,9 @@
198 199 $this->table_name,
199 200 )
200 201 );
201 202
202 - return $this->wpdadb->get_results( $query, 'ARRAY_A' ); // phpcs:ignore Standard.Category.SniffName.ErrorCode
203 + return $this->wpdadb->get_results( $query, 'ARRAY_A' );
203 204 }
204 205
205 206 /**
206 207 * Get database column info
@@ -232,9 +233,9 @@
232 233 $this->table_name,
233 234 )
234 235 );
235 236
236 - return $this->wpdadb->get_results( $query, 'ARRAY_A' ); // phpcs:ignore Standard.Category.SniffName.ErrorCode
237 + return $this->wpdadb->get_results( $query, 'ARRAY_A' );
237 238 }
238 239
239 240 /**
240 241 * Get database index info
@@ -261,9 +262,9 @@
261 262 $this->table_name,
262 263 )
263 264 );
264 265
265 - return $this->wpdadb->get_results( $query, 'ARRAY_A' ); // phpcs:ignore Standard.Category.SniffName.ErrorCode
266 + return $this->wpdadb->get_results( $query, 'ARRAY_A' );
266 267 }
267 268
268 269 }
269 270