Skip to content

Commit 3753b90

Browse files
John-Luke McCarthyJohn-Luke McCarthy
authored andcommitted
changed private function to public for php 8.4 issue
1 parent 6c94757 commit 3753b90

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)