WPIntell

Source evidence

Bug & Possible Fix: Can't login on some systems

WPMS Site Maintenance Mode · support · 2015-06-29T14:24:00+00:00

complaintsentiment
highseverity
0.97relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 28 rows with source links

17.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

23 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
jjrohrer unresolved
When deploying to wpengine.com, I found I couldn’t log in as super admin if my site was down, even though it had worked fine on my dev box. I had also discovered a case of where your could trick a the plugin to show a page by hacking the url. I think the following might be a good update for in the ‘shutdown’ function: //jjr better login detection -begin- # Motivation: # 1) handle case of wp-admin/page=update.php?ILoveHacking&blah=wp-login.php # 2) On standard wpengine.com multi-site install, could not login as site admin while in maint mode #if ($wpdb->blogid == 1 && $this->urlend('wp-login.php')) return; //I told you *not* to log out, but you did anyway. duh! global $pagenow; $isAtRootLogin = ($wpdb->blogid == 1 && $pagenow == 'wp-login.php'); if ($isAtRootLogin) { return; //I told you *not* to log out, but you did anyway. duh! } // jjr -end- https://wordpress.org/plugins/wpms-site-maintenance-mode/

Comments

0 shown

No comments were stored for this source.