Hey, just auto-updated to WordPress 6.7. Now the logo size on all the login pages is no longer correct, it’s a small 80×80 cube which invalidates my width-height settings.
WordPress 6.7 introduced new CSS on the login page that adds these:
You’ll need to change your plugin code to force !important
I get a warning when I switch to PHP 8.0 in:
my-wp-login-logo/views/dashboard.php
In line 21:if($_POST['update_MyWP_login_logo'] == 'update')
Wouldn’t it be better:
if(isset($_POST['update_MyWP_login_logo']) && $_POST['update_MyWP_login_logo'] == 'update')
to use?
]]>Hello,
Can you update the Plugin so that you can see that it is compatible with the latest WordPress version?
Many Thanks
Frank
]]>Hi,
Thank you so much for this plugin.
I’ve added it to a development installation, version 5.3, with errors on and I’ve got some warnings on screen:
On login screen:
Notice: login_headertitle is deprecated since version 5.2.0! Use login_headertext instead
On plugin settings:
Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead
Notice: Undefined index: update_MyWP_login_logo in (…)/my-wp-login-logo/views/dashboard.php on line 21
Best regards,
Jo?o
Thank you for creating such an excellent plugin. I have given you a great review and rating. While using the custom message feature of your plugin, I noticed that I can use html but I cannot display a link or image at all since it keeps putting back slashes in my code. Is there anyway around this?
Also, may you please release an update that puts the plugin settings link under the WordPress settings menu and not in the main WordPress menu itself?
Thanks a lot.
]]>When using this plugin in a multisite environment, does the plugin have to be mass activated to be used for each site? We would like to make it so site admins cannot edit the options.
]]>I just started getting this warning on my login screen —
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘change_my_wp_login_image’ not found or invalid function name in /home/webmark/public_html/wp-includes/plugin.php on line 470
I recently installing Yoast SEO plugin and thought this might be causing a conflict. But I disabled the Yoast plugin and still get this warning message.
Any ideas on how I can rectify this?
Thanks,
Doug
]]>I had someone contact me about a problem they were having getting a custom message to appear on the login page when someone is going through the password retrieval process. Finally I realized that your plugin was putting a display:none on the default WP message, I’m guessing in order to better display the custom message your plugin lets you add.
This hides important messages like the “check your email for your new password” instructions that WP gives when doing the Forgot Password functionality. At minimum I would suggest NOT hiding the default messages if no custom messages have been created through your plugin. The most compatible thing to do would be allowing the customization of messages for each circumstance that WP gives a message, such as “incorrect password” and “lost password”. You can find what conditions give a message by looking through the wp-login.php file. It doesn’t seem like there’s a really great way to filter these messages, but you can use the translation feature to do it, here’s an example function:
function change_lostpassword_message( $translated_text, $text, $domain ) {
//Check for login/register page and that an email address has been entered to send a new password link to
if ( in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-register.php' ) ) && ( isset($_GET['checkemail']) && 'confirm' == $_GET['checkemail'] ) ) {
//Alter only this certain text
if( $translated_text == 'Check your e-mail for the confirmation link.') {
$translated_text = 'Here is your custom message.';
}
}
//No matter what, we always want to return the text, changed or not
return $translated_text;
}
add_filter( 'gettext', 'change_lostpassword_message', 20, 3 );
I hope this can help improve the plugin. The guy who came to me for help was really desperate to get a message up for just the “forgot password” and your plugin made this difficult by hiding what should be visible.
Take care!
-Jarrod
]]>This plugin is working beautifully with my installed WordPress 3.9.1 version running Vantage Premium theme.
The “works” button under “Compatibility” on your description page does not appear to be working.
]]>The “Logo Link” URL is not updating – only goes to the root of existing site. We wanted it to go back to our main web site, but the value would never update.
In the script my-wp-login-logo/views/dashboard.php
around line 22, I added the following line to get it to work:
update_option('wp_custom_login_url',$_POST['wp_custom_login_url']);
]]>
WordPress 3.6 support? Safe to update?
]]>i added your plugin and now when i try to go to mydomain.com/wp-admin it redirects me to https://example.iana.org/
what happened?!?
]]>I don’t want to use a logo so I made a very small 10 x 10 file that is transparent. However now the form is too low on the page. Can you tell me which file needs to be edited so that I can re-position the form up higher on the page. Thank you and cheers. ??
]]>Hello,
Using html in custom messages is not working correctly. A custom message like this:
<span dir="rtl">????</span>
changes to:
<span dir\"rtl\">????</span>
Changing line
update_option('wp_custom_login_logo_message',$_POST['wp_custom_login_logo_message']);
to
update_option('wp_custom_login_logo_message',stripslashes($_POST['wp_custom_login_logo_message']));
will solve the problem.
It would be very good if you solve it in next version. Thanks!
It would be nice if it also gave you an option of adding a background image to the page (and giving you the option of whether you want it repeating) so it looked full integrated to the website.
]]>