Changeset 47902 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 06/03/2020 05:38:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r47808 r47902 291 291 case 'delete_user_meta': 292 292 case 'add_user_meta': 293 list( $_, $object_type, $_ ) = explode( '_', $cap );294 $object_id 293 $object_type = explode( '_', $cap )[1]; 294 $object_id = (int) $args[0]; 295 295 296 296 $object_subtype = get_object_subtype( $object_type, $object_id );
Note: See TracChangeset
for help on using the changeset viewer.