| @@ -47,8 +47,9 @@ | ||
| 47 | 47 | */ |
| 48 | 48 | private function sanitize_identifier( string $identifier ): string { |
| 49 | 49 | if ( ! preg_match( '/^[a-zA-Z0-9_]+$/', $identifier ) ) { |
| 50 | 50 | throw new RuntimeException( |
| 51 | + /* translators: %s: column name. */ | |
| 51 | 52 | sprintf( esc_html__( 'Invalid database column identifier: %s', 'booktics' ), esc_html( $identifier ) ) |
| 52 | 53 | ); |
| 53 | 54 | } |
| 54 | 55 | |