• Resolved oichinokata

    (@oichinokata)


    Dear Peter,

    Thank you for developing the plugin.
    It seems works well, but I couldn’t found the edit column in user’s profile.
    I’m using single site, not network site.
    I checked the plugin, I found below code.

    
    134   if ( current_user_can( 'edit_users' ) and is_network_admin() ) {
    

    It will be as follows.

    134   if ( current_user_can( 'edit_users' ) or is_network_admin() ) {
    

    Is it correct? Could you verify it?

    Oichinokata

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author shawfactor

    (@shawfactor)

    No this is what it should be:

    if ( (is_multisite() and current_user_can( ‘edit_users’ ) and is_network_admin()) or (!is_multisite() and current_user_can( ‘edit_users’ ))) {

    And I’ve added the code to the latest version 1.02. Basically I only want the nicename edit to be on network admin where the site is part of a multiisite (but generally available where it part of a single site installation.

    Plugin Author shawfactor

    (@shawfactor)

    Nice pick up btw

    Thread Starter oichinokata

    (@oichinokata)

    Dear Peter,

    Thank you for quick updating.
    It works well on my site.

    Kind Regards,
    Oichinokata

    Plugin Author shawfactor

    (@shawfactor)

    I’m glad you like it, please feel free to spread the word by leaving a nice review

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t change “User Nicename” with single site’ is closed to new replies.