removes references to get_user_attributes, replaces calls to this plugin's own get_user_meta method with WP core's get_user_meta function
removes references to delete_user_attributes, replaces calls to this plugin's own delete_user_meta method with WP core's delete_user_meta function
removes references to update_user_attributes, replaces calls to this plugin's own update_user_meta method with WP core's update_user_meta function
Checklist
[ ] ~Project documentation has been updated to reflect the changes in this pull request, if applicable.~ not really applicable ā
[ ] I have tested the changes in the local development environment (see contributing.md).
I used this code while developing a custom connector, and did not observe any errors, but my connector didn't directly interface with user meta functions
[ ] I have added phpunit tests.
ā I debated removing this function's get_user_meta, delete_user_meta, and update_user_meta methods, but decided to leave them in in case third-party code uses these functions. For that reason, I left these tests in places. Does that make sense?
Release Changelog
Fix: Removes *_user_attributes function calls, in response to WP VIP deprecating those functions. This plugin's *_user_meta functions are still available for third-party plugins to call.
Release Checklist
[ ] This pull request is to the master branch.
[ ] Release version follows semantic versioning. Does it include breaking changes?
Fixes #1410.
get_user_attributes
, replaces calls to this plugin's ownget_user_meta
method with WP core'sget_user_meta
functiondelete_user_attributes
, replaces calls to this plugin's owndelete_user_meta
method with WP core'sdelete_user_meta
functionupdate_user_attributes
, replaces calls to this plugin's ownupdate_user_meta
method with WP core'supdate_user_meta
functionChecklist
contributing.md
).get_user_meta
,delete_user_meta
, andupdate_user_meta
methods, but decided to leave them in in case third-party code uses these functions. For that reason, I left these tests in places. Does that make sense?Release Changelog
*_user_attributes
function calls, in response to WP VIP deprecating those functions. This plugin's*_user_meta
functions are still available for third-party plugins to call.Release Checklist
master
branch.readme.txt
.stream.php
.Stable tag
inreadme.txt
.classes/class-plugin.php
.