Changeset 16387 for trunk/wp-includes/post.php
- Timestamp:
- 11/15/2010 05:11:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16365 r16387 918 918 919 919 // Back compat with quirky handling in version 3.0. #14122 920 if ( 'post' == $args->capability_type && null === $args->map_meta_cap && empty( $args->capabilities) )920 if ( empty( $args->capabilities ) && null === $args->map_meta_cap && in_array( $args->capability_type, array( 'post', 'page' ) ) ) 921 921 $args->map_meta_cap = true; 922 922
Note: See TracChangeset
for help on using the changeset viewer.