Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function __construct(EEM_Base $model, $message, $code = 0, Exception $previous = null) |
||
31 | { |
||
32 | $message_part_1 = sprintf( |
||
33 | /* |
||
34 | * translators: 1: the model name |
||
35 | */ |
||
36 | esc_html__('The model "%1$s" appears to be misconfigured.', 'event_espresso'), |
||
37 | $model->get_this_model_name() |
||
38 | ); |
||
39 | $message = $message_part_1 . ' ' . $message; |
||
40 | parent::__construct($message, $code, $previous); |
||
41 | } |
||
42 | } |
||
45 |