Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17833

Avoid using "get_currentuserinfo" which will be deprecated in WordPress 4.5

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      The function "get_currentuserinfo" will be deprecated in WordPress 4.5. Currently Civi's 'admin.php' Javascript throws errors under WordPress 4.5 with WP_DEBUG = true because PHP warnings are written to the file. Solution is to replace usage of "get_currentuserinfo" with "wp_get_current_user()".

        Attachments

          Activity

            People

            • Assignee:
              haystack Christian Wach
              Reporter:
              haystack Christian Wach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: