Support » Plugin: User Role Editor » global $current_user is breaking my site

  • Please use wp_get_current_user() or get_current_user_id()

    In both premium and free plugin I have to manually change it when I upgrade in ure-lib.php

    The global $current_user; is throwing a null error.

    Thanks

    • This topic was modified 8 months, 1 week ago by  Jack Reichert.
    • This topic was modified 8 months, 1 week ago by  Jack Reichert.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘global $current_user is breaking my site’ is closed to new replies.