Skip to content

Commit 67cea3c

Browse files
authored
Merge pull request #4 from loukie-pressable/plugins/basic_auth_php_8.4_fix
changed private function (maybe_redirect_from_login_page) to public for php 8.4 issue
2 parents 9e33e65 + 3753b90 commit 67cea3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pressable-basic-authentication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public function modify_logout_url( $logout_url, $redirect ) {
267267
/**
268268
* Redirects from wp-login.php to home page when user is already authenticated via Basic Auth
269269
*/
270-
private function maybe_redirect_from_login_page() {
270+
public function maybe_redirect_from_login_page() {
271271
global $pagenow;
272272

273273
// Check if we're on the login page and have Basic Auth credentials

0 commit comments

Comments
 (0)