Support » Plugin: WP Discourse » ‘register_rest_route’ Not Being Called Correctly

  • Hi,

    This seems to have only become a problem since we updated to WordPress 5.5. The actual problem occurs in the initialize_update_user_route method of the SyncDiscourseUser class. Apparently register_rest_route now requires that you have a permission_callback. I added 'permission_callback' => '__return_true' after line 53, and the problem went away. We are using WP Discourse version 2.1.2


    Mark Pemburn
    Blue Ocean Ideas

    • This topic was modified 1 month, 4 weeks ago by mpemburn.
  • You must be logged in to reply to this topic.