Changeset 36316 for trunk/src/wp-includes/capabilities.php
- Timestamp:
- 01/15/2016 12:19:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r35747 r36316 16 16 * 17 17 * @since 2.0.0 18 * 19 * @global array $post_type_meta_caps Used to get post type meta capabilities. 18 20 * 19 21 * @param string $cap Capability name. … … 378 380 default: 379 381 // Handle meta capabilities for custom post types. 380 $post_type_meta_caps = _post_type_meta_capabilities();382 global $post_type_meta_caps; 381 383 if ( isset( $post_type_meta_caps[ $cap ] ) ) { 382 384 $args = array_merge( array( $post_type_meta_caps[ $cap ], $user_id ), $args );
Note: See TracChangeset
for help on using the changeset viewer.