← All changes
|
WPDataProjects/List_Table/WPDP_List_Table_Lookup.php
+2
-3
5.5.31
→
5.5.85
View file →
| @@ -131,9 +131,9 @@ | ||
| 131 | 131 | |
| 132 | 132 | $wpdadb = WPDADB::get_db_connection( $target_schema_name ); |
| 133 | 133 | if ( null !== $wpdadb ) { |
| 134 | 134 | $where = ''; |
| 135 | - for ( $i = 1; $i < count( $column_options_relationship->source_column_name ); $i++ ) {//phpcs:ignore - 8.1 proof | |
| 135 | + for ( $i = 1; $i < count( $column_options_relationship->source_column_name ); $i++ ) { // phpcs:ignore -- 8.1 proof | |
| 136 | 136 | if ( isset( $item[ $column_options_relationship->source_column_name[ $i ] ] ) ) { |
| 137 | 137 | $value = $item[ $column_options_relationship->source_column_name[ $i ] ]; |
| 138 | 138 | $data_type_lookup = null; |
| 139 | 139 | foreach ( $column_options_relationships['table'] as $tableinfo ) { |
| @@ -317,10 +317,9 @@ | ||
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | protected function add_full_table_downloads_add_args() { |
| 320 | 320 | if ( $this->has_default_where && '' !== trim( $this->page_id ) ) { |
| 321 | - $esc_attr = 'esc_attr'; | |
| 322 | - echo "<input type='hidden' name='pid_default_where' value='{$esc_attr( $this->page_id )}'/>"; | |
| 321 | + echo '<input type="hidden" name="pid_default_where" value="' . esc_attr( $this->page_id ) . '"/>'; | |
| 323 | 322 | } |
| 324 | 323 | } |
| 325 | 324 | |
| 326 | 325 | } |