Changeset 11887
- Timestamp:
- 08/28/2009 12:17:53 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r11878 r11887 917 917 $caps[] = 'read_private_pages'; 918 918 break; 919 case 'unfiltered_upload': 920 if ( defined('ALLOW_UNFILTERED_UPLOADS') && ALLOW_UNFILTERED_UPLOADS == true ) 921 $caps[] = $cap; 922 else 923 $caps[] = 'do_not_allow'; 919 924 default: 920 925 // If no meta caps match, return the original cap.
Note: See TracChangeset
for help on using the changeset viewer.