Change WordPress user roles and capabilities Forums Bug Reports 4.34.2 Notice: Undefined variable: self in

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3774
    wmcgrath
    Participant

    Notice: Undefined variable: self in /home/auphdwp/public_html/wp-content/plugins/user-role-editor-pro/pro/includes/classes/content-view-restrictions.php on line 796

    795: `if ($content_view_whom==3) { // For selected roles only
    if (self::current_user_can_role($roles_str)) {
    //if ($self::current_user_can_role($roles_str)) {
    return true;
    }
    }`

    #3775
    Vladimir
    Keymaster

    Thanks for your help. I will publish a fixed version tomorrow.

    #3780
    Vladimir
    Keymaster

    This bug was fixed with version 4.34.3.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.