Changeset 17604 for trunk/wp-includes/capabilities.php
- Timestamp:
- 04/05/2011 05:25:08 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/capabilities.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r16910 r17604 74 74 75 75 /** 76 * PHP4 Constructor - Call {@link WP_Roles::_init()} method. 77 * 78 * @since 2.0.0 79 * @access public 80 * 81 * @return WP_Roles 82 */ 83 function WP_Roles() { 76 * Constructor 77 * 78 * @since 2.0.0 79 */ 80 function __construct() { 84 81 $this->_init(); 85 82 } … … 270 267 271 268 /** 272 * PHP4Constructor - Set up object properties.269 * Constructor - Set up object properties. 273 270 * 274 271 * The list of capabilities, must have the key as the name of the capability … … 280 277 * @param string $role Role name. 281 278 * @param array $capabilities List of capabilities. 282 * @return WP_Role 283 */ 284 function WP_Role( $role, $capabilities ) { 279 */ 280 function __construct( $role, $capabilities ) { 285 281 $this->name = $role; 286 282 $this->capabilities = $capabilities;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)