add_role require string does not check for empty string
|Reported by:||Kenshino||Owned by:||chriscct7|
Description (last modified by SergeyBiryukov)
<?php add_role( $role, $display_name, $capabilities ); ?>
add_role works with $role as ''.
Perhaps it should check for empty string before allowing it to be added?
Change History (11)
17 months ago
- Keywords needs-refresh added
- Milestone changed from Awaiting Review to 4.4
- Owner set to chriscct7
- Status changed from new to assigned
- Version changed from 3.5.1 to 3.5
Note: See TracTickets for help on using tickets.