Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16617, comment 18


Ignore:
Timestamp:
06/05/2011 04:31:13 PM (14 years ago)
Author:
jrfoell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16617, comment 18

    initial v1  
    44
    55Would you accept a patch if it were merely to state that WP_Role's constructor is intended to be (mostly) private, called once as a singleton?
     6
     7I found this code in an existing plugin, and it seemed like perfectly legitimate usage.  I have since changed it to use get_role().