@@ -370,15 +370,13 @@ |
||
370 | 370 | if ( function_exists( '__' ) ) { |
371 | 371 | if ( ! is_null( $message ) ) { |
372 | 372 | trigger_error( sprintf( __( '%1$s was called with a parameter that is <strong>deprecated</strong> since version %2$s! %3$s', 'cmb2' ), $function, $version, $message ) ); |
373 | - } |
|
374 | - else { |
|
373 | + } else { |
|
375 | 374 | trigger_error( sprintf( __( '%1$s was called with a parameter that is <strong>deprecated</strong> since version %2$s with no alternative available.', 'cmb2' ), $function, $version ) ); |
376 | 375 | } |
377 | 376 | } else { |
378 | 377 | if ( ! is_null( $message ) ) { |
379 | 378 | trigger_error( sprintf( '%1$s was called with a parameter that is <strong>deprecated</strong> since version %2$s! %3$s', $function, $version, $message ) ); |
380 | - } |
|
381 | - else { |
|
379 | + } else { |
|
382 | 380 | trigger_error( sprintf( '%1$s was called with a parameter that is <strong>deprecated</strong> since version %2$s with no alternative available.', $function, $version ) ); |
383 | 381 | } |
384 | 382 | } |