Ticket #10861: 10861_wp-capabilities.patch
| File 10861_wp-capabilities.patch, 1.0 KB (added by , 16 years ago) |
|---|
-
wp-includes/capabilities.php
73 73 var $use_db = true; 74 74 75 75 /** 76 * PHP4 Constructor - Call {@link WP_Roles::_init()} method.76 * PHP4, PHP5 Constructor - Call {@link WP_Roles::_init()} method. 77 77 * 78 78 * @since 2.0.0 79 79 * @access public … … 267 267 var $capabilities; 268 268 269 269 /** 270 * PHP4 Constructor - Setup object properties.270 * PHP4, PHP5 Constructor - Setup object properties. 271 271 * 272 272 * The list of capabilities, must have the key as the name of the capability 273 273 * and the value a boolean of whether it is granted to the role or not. … … 458 458 var $filter = null; 459 459 460 460 /** 461 * PHP4 Constructor - Sets up the object properties.461 * PHP4, PHP5 Constructor - Sets up the object properties. 462 462 * 463 463 * Retrieves the userdata and then assigns all of the data keys to direct 464 464 * properties of the object. Calls {@link WP_User::_init_caps()} after