Closed leogermani closed 3 years ago
Needs another PR...
Now what? How to press that Merge button?
Now what? How to press that Merge button?
I'm working on real tests using this here -> https://github.com/Automattic/jetpack/pull/17832
Let me experiment more with this and I'll probably find issues, as I already did
This PR adds support for users functions :)
Here is a non-exaustive list of functions supported:
wp_insert_user
wp_update_user
wp_delete_user
get_userdata
new WP_User( $id )
to fetch a useruser_can
current_user_can
set_current_user
get_current_user_id
wp_get_current_user
get_user_meta
update_user_meta
add_user_meta
delete_user_meta
Test instructions
Metadata.php
is just code moved around, disconsider)test-users.php
in the tests