Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 14 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function __construct($script_handle, $message = '', $code = 0, Exception $previous = null) |
||
26 | { |
||
27 | if (empty($message)) { |
||
28 | $message = sprintf( |
||
29 | esc_html_x( |
||
30 | 'The "%1$s" script could not be registered with WordPress core.', |
||
31 | 'The "script-handle" script could not be registered with WordPress core.', |
||
32 | 'event_espresso' |
||
33 | ), |
||
34 | $script_handle |
||
35 | ); |
||
36 | } |
||
37 | parent::__construct($message, $code, $previous); |
||
38 | } |
||
39 | } |