Title: WordPress Login Affected
Last modified: January 4, 2017

---

# WordPress Login Affected

 *  Resolved [alijaffi](https://wordpress.org/support/users/alijaffi/)
 * (@alijaffi)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-login-affected/)
 * Hi, I’m trying to utilize Plugin Organizer and I have two login plugins installed(
   lockerpress & active directory). I have selective admin disabled, but Plugin 
   Organizer treats wp-login.php as a standard page.
 * How can I disable these plugins everywhere except on wp-login.php and the admin
   dashboard?
 * Can I do something like this? In plugin-organizer/lib/PluginOrganizerMU.class.
   php –
 *     ```
       function disable_plugins($pluginList, $networkPlugin=0) {
         global $wpdb, $pagenow;
         $newPluginList = array();
         if ( basename(__FILE__) != 'wp-login.php' && is_array($pluginList) ...
       ```
   
    -  This topic was modified 9 years, 5 months ago by [alijaffi](https://wordpress.org/support/users/alijaffi/).
    -  This topic was modified 9 years, 5 months ago by [alijaffi](https://wordpress.org/support/users/alijaffi/).
      Reason: this solved the issue for lockerpress only
    -  This topic was modified 9 years, 5 months ago by [alijaffi](https://wordpress.org/support/users/alijaffi/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-login-affected/#post-8619943)
 * Globally disable the plugins. Then create a plugin filter for wp-login.php. Use
   your full web address. Enable the plugins on that filter. If they do Ajax hits
   you might also have to create a filter for admin-ajax.php to enable them there.
 *  Thread Starter [alijaffi](https://wordpress.org/support/users/alijaffi/)
 * (@alijaffi)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-login-affected/#post-8626164)
 * Thanks so much Jeff.
 * I did notice a bug with the display of plugin filters — specifically the list
   view. I navigate to /wp-admin/edit.php?post_type=plugin_filter and I see “All(
   0) | Trash (4).” But then I navigate to “Trash” and I see “All (2) | Published(
   2) | Trash (2).” It’s a small thing, just thought I’d let you know.
 * Thanks again.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-login-affected/#post-8626797)
 * I have not had that issue on the sites where I run plugin organizer. I just tested
   to be sure and the counts are accurate on my site.
 *  Thread Starter [alijaffi](https://wordpress.org/support/users/alijaffi/)
 * (@alijaffi)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-login-affected/#post-8627048)
 * Ok perhaps it’s a WP multi-site issue?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress Login Affected’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)

 * 4 replies
 * 2 participants
 * Last reply from: [alijaffi](https://wordpress.org/support/users/alijaffi/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/wordpress-login-affected/#post-8627048)
 * Status: resolved