• In versions 1.6.1 and older the frontend message was shown at the bottom. After upgrading to 1.6.3 it suddenly shows up at the top, even though the settings page shows that it should be on the bottom. After debugging this, I noticed that in includes/class-w357-settings.php the default for message_display_position is set to “bottom”, however the same setting in class-plugin-settings.php has a default of “top”. The get_options call returned false, because we have previously not saved the settings and left the default. Those two defaults should match to not cause confusion.

Viewing 1 replies (of 1 total)
  • Plugin Author Yiannis Christodoulou

    (@yiannistaos)

    Thanks for reporting this @danwin1210 and for the detailed debugging—it’s very helpful! You’re absolutely right: the mismatch in default values between class-w357-settings.php and class-plugin-settings.php caused confusion when settings weren’t saved. This has now been fixed in v1.6.4, where the default display position is consistently set to bottom, as shown in the changelog. You can always override it via Settings > Login as User > Appearance > Message.

    Here’s the changelog link for reference: https://www.web357.com/login-as-user-wordpress-plugin/changelog

Viewing 1 replies (of 1 total)

The topic ‘Mismatch in default settings’ is closed to new replies.