• Resolved janlou

    (@janlou)


    Hi,
    In new update i can’t save any older codes (Php or Universal)
    I think this problem is for using wordpress functions in code, For examples:

    if ( is_user_logged_in() ) {
        $current_user = wp_get_current_user();
        if ( ($current_user instanceof WP_User) ) {
            echo get_avatar( $current_user->ID, 64 );
    	}
    }

    After click on save button it returns 403 error page

Viewing 1 replies (of 1 total)
  • Thread Starter janlou

    (@janlou)

    Problem has been solved by downgrading wordpress version to 5.1

Viewing 1 replies (of 1 total)

The topic ‘Error 403 for using wordpress functions’ is closed to new replies.