Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue using Login Designer #197

Open
imCorfitz opened this issue Jun 13, 2022 · 3 comments
Open

Issue using Login Designer #197

imCorfitz opened this issue Jun 13, 2022 · 3 comments

Comments

@imCorfitz
Copy link

When uploading a logo using Login designer for the password protected page, it pulls the thumbnail instead of the full logo, so it is cropped and stretched.

@imCorfitz
Copy link
Author

Screenshot 2022-06-13 at 12 51 07

Additionally it has a random "undefined" label at the bottom of the screen.

@TheMacGuyRocks
Copy link

Can confirm the same fault, although my page is not respecting any choices I make in Login Designer.

@imCorfitz
Copy link
Author

imCorfitz commented Jun 20, 2022

This is actually a bug in Login Designer's plugin. I have temporarily fixed this myself by editing the plugin code.
plugins > login-designer > includes > class-login-designer-password-protected.php line 144.

Changed $logo = wp_get_attachment_image_url( $logo ); to $logo = wp_get_attachment_image_url( $logo, "large" );.

I have also reported the bug to Login Designer.

Regarding the undefined label at the bottom, it seems to be the result of <?php do_action( 'login_footer' ); ?> not returning a language switcher when disabled. This script is found in plugins > password-protected > theme > password-protected-login.php line 155.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants