Ticket #53973: 53973.20220602.1.patch
File 53973.20220602.1.patch, 479 bytes (added by , 2 years ago) |
---|
-
src/wp-includes/class-wp-roles.php
159 159 return; 160 160 } 161 161 162 if( wp_kses( $role, '' ) !== $role || wp_kses( $display_name, '' ) !== $display_name ) { 163 return; 164 } 165 162 166 $this->roles[ $role ] = array( 163 167 'name' => $display_name, 164 168 'capabilities' => $capabilities,