Skip to content

Commit

Permalink
release: fixes
Browse files Browse the repository at this point in the history
fix required params on sprintf
  • Loading branch information
selul committed Apr 16, 2024
1 parent daa735b commit d4545f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Modules/Licenser.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ public function show_notice() {

$status = $this->get_license_status( true );
$no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', Loader::$labels['licenser']['no_activations'] );
$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>' ) );
$expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', sprintf( Loader::$labels['licenser']['expired'], '<a href="%s" target="_blank">', '</a>' ) );
$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>' ) );
$expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', sprintf( Loader::$labels['licenser']['expired'], '%s', '<a href="%s" target="_blank">', '</a>' ) );
// No activations left for this license.
if ( 'valid' != $status && $this->check_activation() ) {
?>
Expand Down

0 comments on commit d4545f9

Please sign in to comment.