Skip to content

Commit d4545f9

Browse files
committed
release: fixes
fix required params on sprintf
1 parent daa735b commit d4545f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Modules/Licenser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ public function show_notice() {
379379

380380
$status = $this->get_license_status( true );
381381
$no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', Loader::$labels['licenser']['no_activations'] );
382-
$no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', sprintf( Loader::$labels['licenser']['inactive'], '<a href="%s" target="_blank">', '</a>', '<a href="%s">', '</a>' ) );
383-
$expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', sprintf( Loader::$labels['licenser']['expired'], '<a href="%s" target="_blank">', '</a>' ) );
382+
$no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', sprintf( Loader::$labels['licenser']['inactive'], '%s', '<a href="%s" target="_blank">', '</a>', '<a href="%s">', '</a>' ) );
383+
$expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', sprintf( Loader::$labels['licenser']['expired'], '%s', '<a href="%s" target="_blank">', '</a>' ) );
384384
// No activations left for this license.
385385
if ( 'valid' != $status && $this->check_activation() ) {
386386
?>

0 commit comments

Comments
 (0)