mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-01-29 21:17:39 +00:00
Additionally, use these meta-caps in the REST API endpoints.
Previously, register_meta()'s auth_callback had no effect for non-post meta. This introduces `{add,edit,delete}_{comment,term,user}_meta` meta-caps to match the existing post meta capabilities. These are currently only used in the REST API.
Props tharsheblows, boonebgorges.
Fixes #38303, fixes #38412.
git-svn-id: https://develop.svn.wordpress.org/trunk@39179 602fd350-edb4-49c9-b593-d223f7449a82
|
||
|---|---|---|
| .. | ||
| author.php | ||
| capabilities.php | ||
| countUserPosts.php | ||
| countUsers.php | ||
| dateQuery.php | ||
| getActiveBlogForUser.php | ||
| listAuthors.php | ||
| mapMetaCap.php | ||
| multisite.php | ||
| query.php | ||
| session.php | ||
| slashes.php | ||
| updateUserCaches.php | ||
| wpAuthenticateSpamCheck.php | ||
| wpDeleteUser.php | ||
| wpDropdownUsers.php | ||
| wpGetUsersWithNoRole.php | ||
| wpSetCurrentUser.php | ||