{"id":3135193,"date":"2012-10-22T08:06:08","date_gmt":"2012-10-22T08:06:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/difference-between-english-and-german-versions\/"},"modified":"2016-08-20T16:51:53","modified_gmt":"2016-08-20T16:51:53","slug":"difference-between-english-and-german-versions","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/difference-between-english-and-german-versions\/","title":{"rendered":"Difference between English and German Versions"},"content":{"rendered":"<p>A while ago I wrote a plugin to send an email to the administrator if a user made any changes to their profile. I used wp_get_current_user( $user_id ), to get the old data ie the current user\u2019s sign on, and get_userdata( $user_id ), to get the data after changes. It works fine on my English version of WordPress, but fails on the German version, as reported by a German user.<br \/>\nI did some debugging and found that although the databases are identical the functions return different data. There are 15 fields missing from the data returned by the German version ( I have a spread sheet that shows the complete differences ). As an example [first_name] and [last_name] are missing from both functions.<br \/>\nIs there a bug?<br \/>\nIs my German colleague doing something wrong?<br \/>\nIs this difference deliberate?<br \/>\nAny help would be appreciated.<\/p>\n","protected":false},"template":"","class_list":["post-3135193","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3135193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3135193\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3135193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}