• So recently I took over management of a WordPress Multisite. I was told by my client that “Subscriber” roles are not able to update their profiles and each time a member with the role “Subscriber” clicks update profile, or any link that may drive them back to wp-admin, they are redirected to the homepage.

    I reassured the client that it’s simply a code snippet located in functions.php and that I will have subscribers accessing their profiles in no time. That was 24 hours ago and I have still not found the damn code snippet.

    I have only managed a few multisite installations so I may be missing something, could someone please guide me as to where to look? Thanks for your help.

    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Look in the mu-plugins folder for a ‘functional plugin’

    Also check if you have a plugin like WP Hide Dashboard.

    Thread Starter cwhebert

    (@cwhebert)

    Yeah I have dug around everywhere and am not seeing anything.

    In the mu-plugins folder there is nothing there that jumps out at me. Other plugin directories (/wp-content/plugins & /wp-content/themes/themename/plugins) have no plugin that looks like a culprit.

    I see a plugin in the theme (/wp-content/theme/themename/plugin/blocked-role/) called “blocked-role” but looking at the code, it does not appear it’s used for that purpose?

    This is frustrating, as I am certain it’s a simple function that’s forcing users with the role “subscriber” to login, but not edit profile. I have done this several times on other sites directly in the functions.php…why couldn’t the previous developers do the same?

    Thanks for your assistance.

    Chris

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Normally when this happens, I copy the site down to my desktop, DB included, and replicate the error there.

    Then I start turning off the plugins until it works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Quick Help Locating Code Snippet’ is closed to new replies.