← All changes
|
WPDataProjects/Data_Dictionary/WPDP_List_Columns.php
+2
-2
5.5.37
→
5.5.85
View file →
| @@ -120,9 +120,9 @@ | ||
| 120 | 120 | |
| 121 | 121 | // Reorder table columns according to sequence defined by user. |
| 122 | 122 | $table_columns_sorted = array(); |
| 123 | 123 | if ( ! isset( $this->table_columns ) ) { |
| 124 | - wp_die( __( 'ERROR: Wrong arguments [no table columns]', 'wp-data-access' ) ); | |
| 124 | + wp_die( esc_attr__( 'ERROR: Wrong arguments [no table columns]', 'wp-data-access' ) ); | |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | if ( null !== $this->column_options ) { |
| 128 | 128 | foreach ( $this->table_columns as $table_column ) { |
| @@ -172,9 +172,9 @@ | ||
| 172 | 172 | * Use headers if a structure is found for the given table. Otherwise call parent to use the default. |
| 173 | 173 | */ |
| 174 | 174 | protected function set_table_column_headers() { |
| 175 | 175 | if ( ! isset( $this->table_columns ) ) { |
| 176 | - wp_die( __( 'ERROR: Wrong arguments [no table columns]', 'wp-data-access' ) ); | |
| 176 | + wp_die( esc_attr__( 'ERROR: Wrong arguments [no table columns]', 'wp-data-access' ) ); | |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | if ( null === $this->column_options ) { |
| 180 | 180 | parent::set_table_column_headers(); |