Skip to content

Commit

Permalink
UTCT-86: Change hook to make compatible with 404 plugin.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gilligan <[email protected]>
  • Loading branch information
UTCGilligan committed Apr 25, 2024
1 parent e1a4956 commit 71c71b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/plugins/seans-qrcode/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class LogoOptions extends QROptions{
}

// Kick in if the loader does not recognize a valid pattern
yourls_add_action( 'loader_failed', 'sean_yourls_qrcode' );
yourls_add_action( 'redirect_keyword_not_found', 'sean_yourls_qrcode' );
function sean_yourls_qrcode( $request ) {
// Get authorized charset in keywords and make a regexp pattern
$pattern = yourls_make_regexp_pattern( yourls_get_shorturl_charset() );
Expand Down

0 comments on commit 71c71b7

Please sign in to comment.