WordPress.org

Make WordPress Core

Ticket #10861: 10861_wp-capabilities.patch

File 10861_wp-capabilities.patch, 1.0 KB (added by hakre, 9 years ago)
  • wp-includes/capabilities.php

     
    7373        var $use_db = true;
    7474
    7575        /**
    76          * PHP4 Constructor - Call {@link WP_Roles::_init()} method.
     76         * PHP4, PHP5 Constructor - Call {@link WP_Roles::_init()} method.
    7777         *
    7878         * @since 2.0.0
    7979         * @access public
     
    267267        var $capabilities;
    268268
    269269        /**
    270          * PHP4 Constructor - Setup object properties.
     270         * PHP4, PHP5 Constructor - Setup object properties.
    271271         *
    272272         * The list of capabilities, must have the key as the name of the capability
    273273         * and the value a boolean of whether it is granted to the role or not.
     
    458458        var $filter = null;
    459459
    460460        /**
    461          * PHP4 Constructor - Sets up the object properties.
     461         * PHP4, PHP5 Constructor - Sets up the object properties.
    462462         *
    463463         * Retrieves the userdata and then assigns all of the data keys to direct
    464464         * properties of the object. Calls {@link WP_User::_init_caps()} after