Ability to turn off the Graphene specific profile info section on the user profile page

  • JD


    Maybe this is a bug rather that a feature request. I’m not sure, so I’m posting it here.

    On the user profile page there is a section added at the bottom by the Graphene theme, titled ‘Graphene-specific User Profile Information’. The only thing in that section at present is a form that allows post authors to specify a certain photo to use for their avatar on the authors page. I would like to request, that since this option is only for those who have the capability to write posts, it should only be displayed for those users who have that capability. The code is in /admin/users.php. You could add something like:

    if ( !current_user_can('publish_posts') ) { return; }

    To both the graphene_show_custom_user_fields() and graphene_save_custom_user_fields() functions. Without that code, the option is shown to everyone, and probably confuses those who don’t have that capability. Maybe you could also give us the ability to turn this option off altogether.

    And one more thing. I also noticed that the authors page will display info for a site member, even if they are only a subscriber. I guess that is more of a small bug, but I thought I would mention it here.

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.