From ea4841d30e40e3f049ca3403a480bb6e10420c89 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 1 Feb 2021 17:22:06 +0000 Subject: [PATCH] Docs: Add `@since` notes for some of the recently introduced meta capabilities. Follow-up to [42832], [43085], [43147], [43155], [43381], [44973], [50114]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@50122 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/capabilities.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/capabilities.php b/src/wp-includes/capabilities.php index 26c09a1944..ac976ff15c 100644 --- a/src/wp-includes/capabilities.php +++ b/src/wp-includes/capabilities.php @@ -24,8 +24,14 @@ * it just returns what the required capabilities are. * * @since 2.0.0 - * @since 5.3.0 Formalized the existing and already documented `...$args` parameter - * by adding it to the function signature. + * @since 4.9.6 Added the `export_others_personal_data`, `erase_others_personal_data`, + * and `manage_privacy_options` capabilities. + * @since 5.1.0 Added the `update_php` capability. + * @since 5.2.0 Added the `resume_plugin` and `resume_theme` capabilities. + * @since 5.3.0 Formalized the existing and already documented `...$args` parameter by adding it + * to the function signature. + * @since 5.7.0 Added the `create_app_password`, `list_app_passwords`, `read_app_password`, + * `edit_app_password`, `delete_app_passwords`, and `delete_app_password` capabilities. * * @global array $post_type_meta_caps Used to get post type meta capabilities. *