WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #23746


Ignore:
Timestamp:
03/12/13 07:32:56 (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23746 – Description

    initial v2  
    11 
    2 <?php add_role( $role, $display_name, $capabilities ); ?>  
     2`<?php add_role( $role, $display_name, $capabilities ); ?>`  
    33 
    4 add_role works with $role as ''. 
     4add_role works with $role as `''`. 
    55 
    66Perhaps it should check for empty string before allowing it to be added?