Title: [Plugin: Admin SSL] function &quot;user_can&quot; breaks everything
Last modified: August 19, 2016

---

# [Plugin: Admin SSL] function "user_can" breaks everything

 *  [James Revillini](https://wordpress.org/support/users/jrevillini/)
 * (@jrevillini)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-admin-ssl-function-user_can-breaks-everything/)
 * After upgrading to wp 3.1, this plugin breaks the whole site because it defines
   a function “user_can” which WP 3.1 also defines.
 * I replaced “user_can(” with “admin_ssl_user_can” throughout the plugin, then 
   a find/replace on “current_admin_ssl_user_can” with “current_user_can” throughout
   the plugin to resolve.
 * Here’s the 1.4.1b version that you can manually install until the plugin author
   fixes it: [http://ge.tt/6HRidQv/admin-ssl-secure-admin.1.4.1b.zip?type=download](http://ge.tt/6HRidQv/admin-ssl-secure-admin.1.4.1b.zip?type=download)
 * NOTE: if you’re not good with wordpress and manually moving file around, you 
   should probably just wait for the update to come out.

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

 *  [bunkacid](https://wordpress.org/support/users/bunkacid/)
 * (@bunkacid)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-admin-ssl-function-user_can-breaks-everything/#post-1955574)
 * Run these sed commands within the admin-ssl-secure-admin directory.
 *     ```
       sed -i '/user_can/ s/user_can/admin_ssl_user_can/g' *php
       sed -i '/current_admin_ssl_user_can/ s/current_admin_ssl_user_can/current_user_can/g' *php
       ```
   
 *  Plugin Author [blenjee](https://wordpress.org/support/users/blenjee/)
 * (@blenjee)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-admin-ssl-function-user_can-breaks-everything/#post-1955594)
 * Please try version 2.0-b2, I have it running on my own site and it works fine,
   I’ll release it as version 2.0 if no-one else reports any issues.

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

The topic ‘[Plugin: Admin SSL] function "user_can" breaks everything’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/admin-ssl-secure-admin.svg)
 * [Admin SSL](https://wordpress.org/plugins/admin-ssl-secure-admin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-ssl-secure-admin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-ssl-secure-admin/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-ssl-secure-admin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-ssl-secure-admin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-ssl-secure-admin/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 2 replies
 * 3 participants
 * Last reply from: [blenjee](https://wordpress.org/support/users/blenjee/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-admin-ssl-function-user_can-breaks-everything/#post-1955594)
 * Status: not resolved