Quirk with admin styling
-
Heya – I’m back with another weird one π
Using version 3.3.2 for now, in a MultiSite environment.
We noticed today that some of our Thickboxes when editing content were having styling applied to them that we didn’t actually want.
#TB_window {
height: 370px !important;
}
and
#TB_ajaxContent {
text-align: center !important;
}both from main.min.css. This was being used while editing a Page or Post.
A couple weird things about this!
1) You have logic to only have your CSS enqueued on the settings page… but apparently it isn’t working perfectly.
2) I am able to fix this on a site-by-site basis by going to Settings->SSL and find that, on all the affected sites, it says: “Go ahead, activate SSL!” when the plugin is actually network activated and “Enable SSL” is set to be networkwide. It looks like $this->ssl_enabled doesn’t actually test for network-wide settings.
I haven’t tried to patch it yet myself, but my first inclination would be to look at where you’re determining if ssl_enabled is true or not and checking if the plugin is activated networkwide and has ssl activated networkwide.
Let me know if you need more information or if I can be of any help.
Cheers
The topic ‘Quirk with admin styling’ is closed to new replies.