Changeset 11888 for branches/2.8/wp-includes/capabilities.php
- Timestamp:
- 08/28/2009 12:19:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-includes/capabilities.php
r11019 r11888 901 901 $caps[] = 'read_private_pages'; 902 902 break; 903 case 'unfiltered_upload': 904 if ( defined('ALLOW_UNFILTERED_UPLOADS') && ALLOW_UNFILTERED_UPLOADS == true ) 905 $caps[] = $cap; 906 else 907 $caps[] = 'do_not_allow'; 903 908 default: 904 909 // If no meta caps match, return the original cap.
Note: See TracChangeset
for help on using the changeset viewer.